Skip to content

Commit

Permalink
fix size
Browse files Browse the repository at this point in the history
  • Loading branch information
mattn committed Jan 25, 2024
1 parent f7a91cb commit 1f97a25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.cxx
Original file line number Diff line number Diff line change
Expand Up @@ -514,7 +514,7 @@ int main(int argc, char *argv[]) {
server.SetClientConnectedCallback(connect_callback);
server.SetClientDisconnectedCallback(disconnect_callback);
server.SetCheckTCPConnectionCallback(tcpcheck_callback);
server.SetMaxMessageSize(SIZE_MAX);
server.SetMaxMessageSize(65535);
server.SetCheckConnectionCallback(check_callback);
server.SetHTTPCallback(http_request_callback);
server.Listen(7447);
Expand Down

0 comments on commit 1f97a25

Please sign in to comment.