From b14eeb3c1ec15d94d20da4deea853582482a47b0 Mon Sep 17 00:00:00 2001 From: Mark Nottingham Date: Mon, 18 Oct 2010 16:14:29 +1100 Subject: [PATCH] Fix expect/continue keepalive --- lib/http.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/http.js b/lib/http.js index 939d2c3..50bc6f1 100755 --- a/lib/http.js +++ b/lib/http.js @@ -653,7 +653,7 @@ ServerResponse.prototype.writeHead = function (statusCode) { // don't keep alive connections where the client expects 100 Continue // but we sent a final status; they may put extra bytes on the wire. if (this._expect_continue && ! this._sent100) { - this._shouldKeepAlive = false; + this.shouldKeepAlive = false; } this._storeHeader(statusLine, headers); -- 2.7.4