projects
/
platform
/
upstream
/
nodejs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c735b46
)
Fix expect/continue keepalive
author
Mark Nottingham
<mnot@mnot.net>
Mon, 18 Oct 2010 05:14:29 +0000
(16:14 +1100)
committer
Ryan Dahl
<ry@tinyclouds.org>
Mon, 18 Oct 2010 22:38:46 +0000
(15:38 -0700)
lib/http.js
patch
|
blob
|
history
diff --git
a/lib/http.js
b/lib/http.js
index
939d2c3
..
50bc6f1
100755
(executable)
--- 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);