Skip to content

Commit

Permalink
Fix disconnection reason being lost for polling transports.
Browse files Browse the repository at this point in the history
  • Loading branch information
rauchg committed Apr 5, 2012
1 parent 2075307 commit 330407c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/transports/http-polling.js
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,8 @@ HTTPPolling.prototype.write = function (data, close) {
* @api private
*/

HTTPPolling.prototype.end = function () {
HTTPPolling.prototype.end = function (reason) {
this.clearPollTimeout();
return HTTPTransport.prototype.end.call(this);
return HTTPTransport.prototype.end.call(this, reason);
};

0 comments on commit 330407c

Please sign in to comment.