Skip to content

Commit dfc891d

Browse files
committed
fix: Increase the maximum WebSocket message size to 1 GiB
1 parent 6981a6e commit dfc891d

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/mitmproxy_remote_interceptions.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ async def running(self) -> None:
3131
self._server = await websockets.serve(
3232
self._ws_handler, "localhost", ctx.options.ws_port,
3333
compression=None,
34+
max_size=1024 * 1024 * 1024, # 1 GiB
3435
)
3536
ctx.log.info(f"WebSocket API server listening at http://localhost:{ctx.options.ws_port}")
3637

0 commit comments

Comments
 (0)