Skip to content

Commit

Permalink
http: increase maximum request lengths
Browse files Browse the repository at this point in the history
  • Loading branch information
mmcgee-jump committed Jan 15, 2025
1 parent 5f841dd commit d2e8afa
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/app/fdctl/run/tiles/fd_gui.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,9 @@
FD_IMPORT_BINARY( firedancer_svg, "book/public/fire.svg" );

#define FD_HTTP_SERVER_GUI_MAX_CONNS 1024
#define FD_HTTP_SERVER_GUI_MAX_REQUEST_LEN 1024
#define FD_HTTP_SERVER_GUI_MAX_REQUEST_LEN 8192
#define FD_HTTP_SERVER_GUI_MAX_WS_CONNS 1024
#define FD_HTTP_SERVER_GUI_MAX_WS_RECV_FRAME_LEN 1024
#define FD_HTTP_SERVER_GUI_MAX_WS_RECV_FRAME_LEN 8192
#define FD_HTTP_SERVER_GUI_MAX_WS_SEND_FRAME_CNT 8192
#define FD_HTTP_SERVER_GUI_OUTGOING_BUFFER_SZ (5UL<<30UL) /* 5GiB reserved for buffering GUI websockets */

Expand Down
2 changes: 1 addition & 1 deletion src/app/fdctl/run/tiles/fd_metric.c
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
#include <stdio.h>

#define FD_HTTP_SERVER_METRICS_MAX_CONNS 128
#define FD_HTTP_SERVER_METRICS_MAX_REQUEST_LEN 1024
#define FD_HTTP_SERVER_METRICS_MAX_REQUEST_LEN 8192
#define FD_HTTP_SERVER_METRICS_OUTGOING_BUFFER_SZ (32UL<<20UL) /* 32MiB reserved for buffering metrics responses */

const fd_http_server_params_t METRICS_PARAMS = {
Expand Down

0 comments on commit d2e8afa

Please sign in to comment.