fix(connect): disable context takeover in websocket transport (#33811)
This commit is contained in:
parent
d029b03d9f
commit
27060a0f65
|
@ -24,6 +24,7 @@ import { httpHappyEyeballsAgent, httpsHappyEyeballsAgent } from '../utils/happy-
|
|||
import type { HeadersArray } from './types';
|
||||
|
||||
export const perMessageDeflate = {
|
||||
clientNoContextTakeover: true,
|
||||
zlibDeflateOptions: {
|
||||
level: 3,
|
||||
},
|
||||
|
|
|
@ -25,6 +25,7 @@ let lastConnectionId = 0;
|
|||
const kConnectionSymbol = Symbol('kConnection');
|
||||
|
||||
export const perMessageDeflate = {
|
||||
serverNoContextTakeover: true,
|
||||
zlibDeflateOptions: {
|
||||
level: 3,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue