Skip to content

Commit

Permalink
remove misguided check
Browse files Browse the repository at this point in the history
  • Loading branch information
phoddie committed May 15, 2020
1 parent 8aa6787 commit 4a5f43e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions modules/network/http/http.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,9 +189,6 @@ function callback(message, value) {
status = this.line + status;

if ((10 !== status.charCodeAt(status.length - 1)) || (13 !== status.charCodeAt(status.length - 2))) {
if (socket.read())
throw new Error("didn't receive full status line!?!");

this.line = status;
return;
}
Expand Down

0 comments on commit 4a5f43e

Please sign in to comment.