From 3a8adda38169af50f17b89895db582fd95f1dd2f Mon Sep 17 00:00:00 2001 From: yhirose Date: Sun, 17 Dec 2023 22:04:36 -0500 Subject: [PATCH] Fix #1737 --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 4724892..4340fa3 100644 --- a/README.md +++ b/README.md @@ -417,6 +417,8 @@ svr.set_idle_interval(0, 100000); // 100 milliseconds svr.set_payload_max_length(1024 * 1024 * 512); // 512MB ``` +NOTE: When the request body content type is 'www-form-urlencoded', the actual payload length shouldn't exceed `CPPHTTPLIB_FORM_URL_ENCODED_PAYLOAD_MAX_LENGTH`. + ### Server-Sent Events Please see [Server example](https://github.com/yhirose/cpp-httplib/blob/master/example/ssesvr.cc) and [Client example](https://github.com/yhirose/cpp-httplib/blob/master/example/ssecli.cc).