Skip to content
This repository
Browse code

Merge branch 'master' into openssl

  • Loading branch information...
commit 8efab857d0a87b8a2cb00afaaac2239d8c23041b 2 parents e4a6b72 + 6ad18a2
wave.to waveto authored

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  lib/http.js
2  lib/http.js
@@ -532,7 +532,7 @@ function connectionListener (socket) {
532 532 socket.ondata = function (d, start, end) {
533 533 var bytesParsed = parser.execute(d, start, end - start);
534 534 if (parser.incoming && parser.incoming.upgrade) {
535   - var upgradeHead = d.slice(start + bytesParsed, end - start);
  535 + var upgradeHead = d.slice(start + bytesParsed, end);
536 536 parser.incoming.upgradeHead = upgradeHead;
537 537 socket.ondata = null;
538 538 socket.onend = null;

0 comments on commit 8efab85

Please sign in to comment.
Something went wrong with that request. Please try again.