Skip to content

Commit 11c3f62

Browse files
committed
pass through any close event from websocket
1 parent ab3c73f commit 11c3f62

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/connection.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -534,8 +534,8 @@ Connection.prototype.on_error = function (e) {
534534
this._disconnected(e);
535535
};
536536

537-
Connection.prototype.eof = function () {
538-
this._disconnected();
537+
Connection.prototype.eof = function (e) {
538+
this._disconnected(e);
539539
};
540540

541541
Connection.prototype._disconnected = function (error) {

0 commit comments

Comments
 (0)