Skip to content

Commit 1097479

Browse files
committed
Increase MAX_MESSAGE_SIZE
1 parent f1d6d38 commit 1097479

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/server.zig

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const MAX_HTTP_REQUEST_SIZE = 2048;
4545
// max message size
4646
// +14 for max websocket payload overhead
4747
// +140 for the max control packet that might be interleaved in a message
48-
const MAX_MESSAGE_SIZE = 256 * 1024 + 14;
48+
const MAX_MESSAGE_SIZE = 512 * 1024 + 14;
4949

5050
const Server = struct {
5151
app: *App,

0 commit comments

Comments
 (0)