mirror of
https://github.com/kaspanet/kaspad.git
synced 2025-06-07 14:46:44 +00:00
Set the Connection header to close
This commit is contained in:
parent
dacf9d77c5
commit
3a59e4d064
@ -150,6 +150,7 @@ func (s *rpcServer) Start() {
|
|||||||
jsonAuthFail(w, r, s)
|
jsonAuthFail(w, r, s)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
w.Header().Set("Connection", "close")
|
||||||
jsonRPCRead(w, r, s)
|
jsonRPCRead(w, r, s)
|
||||||
})
|
})
|
||||||
go s.walletListenerDuplicator()
|
go s.walletListenerDuplicator()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user