Systemd/src/journal-remote
Dongsu Park 5e3efccfc9 journal-remote: increase memory limit per connection to avoid errors with HTTPS
Explicitly set MHD_OPTION_CONNECTION_MEMORY_LIMIT to a larger value,
when setting up microhttpd, to give more memory per HTTP(S) connection.

This way systemd-journal-remote can now prevent microhttpd from failing
in creating response headers with messages like "Not enough memory for
write", especially when lots of HTTPS requests arrive. That's precisely
because MHD_OPTION_CONNECTION_MEMORY_LIMIT in libmicrohttpd defaults to
32768, which is in practice insufficient in this case.
See also https://gnunet.org/bugs/view.php?id=4007 for more details.

Fixes: https://github.com/coreos/bugs/issues/927
2015-10-30 15:12:48 +01:00
..
.gitignore journal-upload: add config file 2014-07-15 22:34:41 -04:00
browse.html Move network-related journal programs to src/journal-remote/ 2014-07-15 22:23:47 -04:00
journal-gatewayd.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
journal-remote-parse.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
journal-remote-parse.h journal-remote: make process_data static 2015-03-13 23:42:17 -04:00
journal-remote-write.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
journal-remote-write.h remove unused includes 2015-02-23 23:53:42 +01:00
journal-remote.c journal-remote: increase memory limit per connection to avoid errors with HTTPS 2015-10-30 15:12:48 +01:00
journal-remote.conf.in journal-remote: allow splitting incoming logs by source host 2014-07-15 22:31:41 -04:00
journal-remote.h remove unused includes 2015-02-23 23:53:42 +01:00
journal-upload-journal.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
journal-upload.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
journal-upload.conf.in journal-upload: add config file 2014-07-15 22:34:41 -04:00
journal-upload.h journal-remote: let user specify just the main part of the url 2014-07-15 22:34:41 -04:00
log-generator.py Add simple generator of fake journal export stream 2014-07-15 22:31:40 -04:00
Makefile Move network-related journal programs to src/journal-remote/ 2014-07-15 22:23:47 -04:00
microhttpd-util.c util-lib: split out allocation calls into alloc-util.[ch] 2015-10-27 13:45:53 +01:00
microhttpd-util.h µhttp-util: setup gnutls logs in one function 2015-03-13 23:42:16 -04:00