diff options
| author | Egor Tensin <egor@tensin.name> | 2026-06-21 07:49:34 +0200 |
|---|---|---|
| committer | Egor Tensin <egor@tensin.name> | 2026-06-21 07:49:34 +0200 |
| commit | 3421d2ed73f43159e8fa04943e13ca9c0f0404d3 (patch) | |
| tree | 5302ee9ac0ea902e85ec8f600b4f58984576e02b /node_modules/undici/lib/web/websocket/websocket.js | |
| parent | Merge pull request #10 from egor-tensin/dependabot/github_actions/actions/che... (diff) | |
| download | cleanup-path-3421d2ed73f43159e8fa04943e13ca9c0f0404d3.tar.gz cleanup-path-3421d2ed73f43159e8fa04943e13ca9c0f0404d3.zip | |
bump dependencies
Diffstat (limited to 'node_modules/undici/lib/web/websocket/websocket.js')
| -rw-r--r-- | node_modules/undici/lib/web/websocket/websocket.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/node_modules/undici/lib/web/websocket/websocket.js b/node_modules/undici/lib/web/websocket/websocket.js index ccedb79..80991e9 100644 --- a/node_modules/undici/lib/web/websocket/websocket.js +++ b/node_modules/undici/lib/web/websocket/websocket.js @@ -435,9 +435,12 @@ class WebSocket extends EventTarget { // once this happens, the connection is open this[kResponse] = response - const maxPayloadSize = this[kController]?.dispatcher?.webSocketOptions?.maxPayloadSize + const webSocketOptions = this[kController]?.dispatcher?.webSocketOptions + const maxFragments = webSocketOptions?.maxFragments + const maxPayloadSize = webSocketOptions?.maxPayloadSize const parser = new ByteParser(this, parsedExtensions, { + maxFragments, maxPayloadSize }) parser.on('drain', onParserDrain) |
