File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change 8
8
ArrayPrototypeForEach,
9
9
ArrayPrototypePush,
10
10
FunctionPrototypeBind,
11
+ FunctionPrototypeCall,
11
12
MathMin,
12
13
ObjectAssign,
13
14
ObjectCreate,
@@ -2136,7 +2137,7 @@ class Http2Stream extends Duplex {
2136
2137
this [ kState ] . didRead = true ;
2137
2138
}
2138
2139
if ( ! this . pending ) {
2139
- ReflectApply ( streamOnResume , this , [ ] ) ;
2140
+ FunctionPrototypeCall ( streamOnResume , this ) ;
2140
2141
} else {
2141
2142
this . once ( 'ready' , streamOnResume ) ;
2142
2143
}
@@ -2953,7 +2954,7 @@ function connectionListener(socket) {
2953
2954
if ( options . allowHTTP1 === true ) {
2954
2955
socket . server [ kIncomingMessage ] = options . Http1IncomingMessage ;
2955
2956
socket . server [ kServerResponse ] = options . Http1ServerResponse ;
2956
- return httpConnectionListener . call ( this , socket ) ;
2957
+ return FunctionPrototypeCall ( httpConnectionListener , this , socket ) ;
2957
2958
}
2958
2959
// Let event handler deal with the socket
2959
2960
debug ( 'Unknown protocol from %s:%s' ,
You can’t perform that action at this time.
0 commit comments