diff --git a/rpcserver.go b/rpcserver.go index 65e3f84d..6a353ef9 100644 --- a/rpcserver.go +++ b/rpcserver.go @@ -150,6 +150,7 @@ func (s *rpcServer) Start() { jsonAuthFail(w, r, s) return } + w.Header().Set("Connection", "close") jsonRPCRead(w, r, s) }) go s.walletListenerDuplicator()