Skip to content

Commit

Permalink
test/http: add http_set_max_body_size
Browse files Browse the repository at this point in the history
  • Loading branch information
sreimers committed Jan 15, 2025
1 parent cd7b9c9 commit 9f220e7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions test/http.c
Original file line number Diff line number Diff line change
Expand Up @@ -499,6 +499,8 @@ static int test_http_loop_base(bool secure, const char *met, bool http_conn,
if (err)
goto out;

http_set_max_body_size(sock, 1024 * 1024 / 2);

err = tcp_sock_local_get(http_sock_tcp(sock), &srv);
if (err)
goto out;
Expand Down

0 comments on commit 9f220e7

Please sign in to comment.