commit
This commit is contained in:
parent
13ec9babde
commit
68f4b60012
1429 changed files with 2481 additions and 272836 deletions
2
node_modules/undici/lib/websocket/frame.js
generated
vendored
2
node_modules/undici/lib/websocket/frame.js
generated
vendored
|
@ -43,7 +43,7 @@ class WebsocketFrameSend {
|
|||
buffer[1] = payloadLength
|
||||
|
||||
if (payloadLength === 126) {
|
||||
new DataView(buffer.buffer).setUint16(2, bodyLength)
|
||||
buffer.writeUInt16BE(bodyLength, 2)
|
||||
} else if (payloadLength === 127) {
|
||||
// Clear extended payload length
|
||||
buffer[2] = buffer[3] = 0
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue