diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2021-12-20 20:48:32 +0900 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2021-12-20 14:30:24 +0100 |
commit | 30df858f43b14a55c6650b43bea12cbf2cc0bc67 (patch) | |
tree | 05d9872c9dc885aaae60e4f17a8e30e3f993ea27 /src/journal-remote/journal-remote-main.c | |
parent | 077c5cf66936f830ae8af818a93097b3cbcfa56a (diff) | |
download | systemd-30df858f43b14a55c6650b43bea12cbf2cc0bc67.tar.gz |
journal-remote: use MHD_HTTP_CONTENT_TOO_LARGE as MHD_HTTP_PAYLOAD_TOO_LARGE is deprecated since 0.9.74
Diffstat (limited to 'src/journal-remote/journal-remote-main.c')
-rw-r--r-- | src/journal-remote/journal-remote-main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/journal-remote/journal-remote-main.c b/src/journal-remote/journal-remote-main.c index 67f1267d0a..6ab91263b1 100644 --- a/src/journal-remote/journal-remote-main.c +++ b/src/journal-remote/journal-remote-main.c @@ -319,7 +319,7 @@ static mhd_result request_handler( /* When serialized, an entry of maximum size might be slightly larger, * so this does not correspond exactly to the limit in journald. Oh well. */ - return mhd_respondf(connection, 0, MHD_HTTP_PAYLOAD_TOO_LARGE, + return mhd_respondf(connection, 0, MHD_HTTP_CONTENT_TOO_LARGE, "Payload larger than maximum size of %u bytes", ENTRY_SIZE_MAX); } |