Skip to content

Commit

Permalink
fix: Fix socketio#698 by setting supportsFraming to false for all tra…
Browse files Browse the repository at this point in the history
…nsports
  • Loading branch information
jonathanperret committed Feb 23, 2024
1 parent 260cd32 commit 27fbb71
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion lib/transports-uws/websocket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ export class WebSocket extends Transport {
* @api public
*/
get supportsFraming() {
return true;
return false;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion lib/transports/websocket.ts
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ export class WebSocket extends Transport {
* @api public
*/
get supportsFraming() {
return true;
return false;
}

/**
Expand Down
2 changes: 1 addition & 1 deletion lib/transports/webtransport.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export class WebTransport extends Transport {
}

get supportsFraming() {
return true;
return false;
}

async send(packets) {
Expand Down

0 comments on commit 27fbb71

Please sign in to comment.