diff --git a/lib/http.js b/lib/http.js index 939d2c3b4f..50bc6f16d0 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);