Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Merge branch 'master' into openssl

  • Loading branch information...
commit 8efab857d0a87b8a2cb00afaaac2239d8c23041b 2 parents e4a6b72 + 6ad18a2
@waveto waveto authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  lib/http.js
View
2  lib/http.js
@@ -532,7 +532,7 @@ function connectionListener (socket) {
socket.ondata = function (d, start, end) {
var bytesParsed = parser.execute(d, start, end - start);
if (parser.incoming && parser.incoming.upgrade) {
- var upgradeHead = d.slice(start + bytesParsed, end - start);
+ var upgradeHead = d.slice(start + bytesParsed, end);
parser.incoming.upgradeHead = upgradeHead;
socket.ondata = null;
socket.onend = null;
Please sign in to comment.
Something went wrong with that request. Please try again.