File tree Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Expand file tree Collapse file tree 2 files changed +5
-4
lines changed Original file line number Diff line number Diff line change @@ -121,18 +121,18 @@ class Socket extends Emitter {
121
121
if ( this . id ) query . sid = this . id ;
122
122
123
123
const opts = Object . assign (
124
+ { } ,
125
+ this . opts . transportOptions [ name ] ,
126
+ this . opts ,
124
127
{
125
128
query,
126
129
socket : this ,
127
130
hostname : this . hostname ,
128
131
secure : this . secure ,
129
132
port : this . port
130
- } ,
131
- this . opts . transportOptions [ name ] ,
132
- this . opts
133
+ }
133
134
) ;
134
135
135
- // console.log(opts);
136
136
debug ( "options: %j" , opts ) ;
137
137
138
138
return new transports [ name ] ( opts ) ;
Original file line number Diff line number Diff line change @@ -102,6 +102,7 @@ class XHR extends Polling {
102
102
req . on ( "error" , function ( err ) {
103
103
self . onError ( "xhr poll error" , err ) ;
104
104
} ) ;
105
+ this . pollXhr = req ;
105
106
}
106
107
}
107
108
You can’t perform that action at this time.
0 commit comments