libmicrohttpd

HTTP/1.x server C library (MHD 1.x, stable)
Log | Files | Refs | Submodules | README | LICENSE

commit 0eb370643d71402cbfb2f33f9dba1f9b6d86473a
parent ac72beaa2b367959bef62686512d07137237f42f
Author: Evgeny Grin (Karlson2k) <k2k@narod.ru>
Date:   Wed, 29 Sep 2021 19:53:28 +0300

transmit_error_response(): reset read buffer offset as well

Diffstat:
Msrc/microhttpd/connection.c | 1+
1 file changed, 1 insertion(+), 0 deletions(-)

diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c @@ -2240,6 +2240,7 @@ transmit_error_response_len (struct MHD_Connection *connection, connection->read_buffer_size, 0); connection->read_buffer_size = 0; + connection->read_buffer_offset = 0; } if (NULL != connection->response) {