Skip to content

Commit 311c208

Browse files
committed
Increase memory limit for POST processing to 32kb (same as #MHD_POOL_SIZE_DEFAULT)
1 parent 496458f commit 311c208

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/webserver.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -673,9 +673,10 @@ int webserver::bodyfull_requests_answer_first_step(
673673
)
674674
)
675675
{
676+
const size_t post_memory_limit (32*1024); // Same as #MHD_POOL_SIZE_DEFAULT
676677
mr->pp = MHD_create_post_processor (
677678
connection,
678-
1024,
679+
post_memory_limit,
679680
&post_iterator,
680681
mr
681682
);

0 commit comments

Comments
 (0)