From 3a59e4d064a472c2fd0217bff0e4a651aa28b53d Mon Sep 17 00:00:00 2001 From: David Hill Date: Fri, 10 Jan 2014 10:57:05 -0500 Subject: [PATCH] Set the Connection header to close --- rpcserver.go | 1 + 1 file changed, 1 insertion(+) 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()