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 4375945 commit c3460e3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/app/fdctl/run/tiles/fd_gui.c
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
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_SEND_FRAME_CNT 8192
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 c3460e3

Please sign in to comment.