diff options
author | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2023-06-14 10:57:23 +0300 |
---|---|---|
committer | Evgeny Grin (Karlson2k) <k2k@narod.ru> | 2023-06-20 23:22:56 +0300 |
commit | 5a9f64bc6a497a41f0cbcd80ee883e0747c08a98 (patch) | |
tree | ce5f8db2ab3060dea1cdc7cb7f937814c6f81399 /src/microhttpd/connection.c | |
parent | 2e996ee5c2cbf9cb36b12c1152d81b1477607b2c (diff) | |
download | libmicrohttpd-5a9f64bc6a497a41f0cbcd80ee883e0747c08a98.tar.gz libmicrohttpd-5a9f64bc6a497a41f0cbcd80ee883e0747c08a98.zip |
connection: fixed pipelined requests processing
Diffstat (limited to 'src/microhttpd/connection.c')
-rw-r--r-- | src/microhttpd/connection.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c index 4716eb0f..0c49a39d 100644 --- a/src/microhttpd/connection.c +++ b/src/microhttpd/connection.c | |||
@@ -6159,7 +6159,9 @@ connection_reset (struct MHD_Connection *connection, | |||
6159 | 6159 | ||
6160 | c->keepalive = MHD_CONN_KEEPALIVE_UNKOWN; | 6160 | c->keepalive = MHD_CONN_KEEPALIVE_UNKOWN; |
6161 | c->state = MHD_CONNECTION_INIT; | 6161 | c->state = MHD_CONNECTION_INIT; |
6162 | c->event_loop_info = MHD_EVENT_LOOP_INFO_READ; | 6162 | c->event_loop_info = |
6163 | (0 == c->read_buffer_offset) ? | ||
6164 | MHD_EVENT_LOOP_INFO_READ : MHD_EVENT_LOOP_INFO_PROCESS; | ||
6163 | 6165 | ||
6164 | memset (&c->rq, 0, sizeof(c->rq)); | 6166 | memset (&c->rq, 0, sizeof(c->rq)); |
6165 | 6167 | ||