commit 3d10823017ebb69d92c1c4b3ac5d663b257eacb4 parent 0fd78e5f406161115fa31ba91e02ac7bfbae1dfd Author: Evgeny Grin (Karlson2k) <k2k@narod.ru> Date: Wed, 29 Sep 2021 17:41:01 +0300 process_broken_line(): avoid double error sending Diffstat:
| M | src/microhttpd/connection.c | | | 4 | +--- |
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c @@ -3384,9 +3384,7 @@ process_broken_line (struct MHD_Connection *connection, strlen (connection->colon), kind)) { - transmit_error_response_static (connection, - MHD_HTTP_REQUEST_HEADER_FIELDS_TOO_LARGE, - REQUEST_TOO_BIG); + /* Error has been queued by connection_add_header() */ return MHD_NO; } /* we still have the current line to deal with... */