mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-03-30 15:08:33 +00:00
parent
765dbb443d
commit
bdaa5f7f8d
@ -170,6 +170,7 @@ func (s *rpcServer) Start() {
|
||||
}
|
||||
rpcServeMux.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
|
||||
w.Header().Set("Connection", "close")
|
||||
w.Header().Set("Content-Type", "application/json")
|
||||
r.Close = true
|
||||
|
||||
// Limit the number of connections to max allowed.
|
||||
|
Loading…
x
Reference in New Issue
Block a user