diff options
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 | ||