Skip to content

Commit

Permalink
[fix] Undeterministic error in polling buffer processing
Browse files Browse the repository at this point in the history
  • Loading branch information
raulmt committed Aug 30, 2017
1 parent e76e035 commit 8610cc4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/transports/polling.js
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ Polling.prototype.onDataRequest = function (req, res) {
}

if (contentLength > self.maxHttpBufferSize) {
chunks = '';
chunks = isBinary ? new Buffer(0) : '';
req.connection.destroy();
}
}
Expand Down

0 comments on commit 8610cc4

Please sign in to comment.