summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-02-06 14:40:32 +0100
committerLennart Poettering <lennart@poettering.net>2016-02-06 14:40:32 +0100
commit54b7f38fe80fec06c853672cd750d990f118e79b (patch)
tree1622e002834ddb8f91c110b35195ce7372de4506
parentb1f047d6bae741355f3eb8416b0b912408836c4f (diff)
parent8c6bcbf892c60ec33292dd3a912f03f36b27be27 (diff)
Merge pull request #2525 from chaloulo/journal-remote-microhttp-max-memory-usage
journal-remote: decrease microhttpd memory limit
-rw-r--r--src/journal-remote/journal-remote.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal-remote/journal-remote.c b/src/journal-remote/journal-remote.c
index cfe111fd91..fa4a4ff931 100644
--- a/src/journal-remote/journal-remote.c
+++ b/src/journal-remote/journal-remote.c
@@ -645,7 +645,7 @@ static int setup_microhttpd_server(RemoteServer *s,
{ MHD_OPTION_NOTIFY_COMPLETED, (intptr_t) request_meta_free},
{ MHD_OPTION_EXTERNAL_LOGGER, (intptr_t) microhttpd_logger},
{ MHD_OPTION_LISTEN_SOCKET, fd},
- { MHD_OPTION_CONNECTION_MEMORY_LIMIT, DATA_SIZE_MAX},
+ { MHD_OPTION_CONNECTION_MEMORY_LIMIT, 128*1024},
{ MHD_OPTION_END},
{ MHD_OPTION_END},
{ MHD_OPTION_END},