[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[GNUnet-SVN] [libmicrohttpd] 03/04: connection.c: more cleanup after com
From: |
gnunet |
Subject: |
[GNUnet-SVN] [libmicrohttpd] 03/04: connection.c: more cleanup after completed of serving request. |
Date: |
Fri, 05 May 2017 13:34:03 +0200 |
This is an automated email from the git hooks/post-receive script.
karlson2k pushed a commit to branch master
in repository libmicrohttpd.
commit d9df0418b370552bfd7cada435bc20f0d5c28017
Author: Evgeny Grin (Karlson2k) <address@hidden>
AuthorDate: Fri May 5 13:29:13 2017 +0300
connection.c: more cleanup after completed of serving request.
---
src/microhttpd/connection.c | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/src/microhttpd/connection.c b/src/microhttpd/connection.c
index 887511b7..23707505 100644
--- a/src/microhttpd/connection.c
+++ b/src/microhttpd/connection.c
@@ -3234,6 +3234,9 @@ MHD_connection_handle_idle (struct MHD_Connection
*connection)
socket_start_normal_buffering (connection);
connection->version = NULL;
connection->state = MHD_CONNECTION_INIT;
+ connection->last = NULL;
+ connection->colon = NULL;
+ connection->header_size = 0;
/* Reset the read buffer to the starting size,
preserving the bytes we have already read. */
connection->read_buffer
@@ -3252,6 +3255,8 @@ MHD_connection_handle_idle (struct MHD_Connection
*connection)
connection->headers_received_tail = NULL;
connection->response_write_position = 0;
connection->have_chunked_upload = false;
+ connection->current_chunk_size = 0;
+ connection->current_chunk_offset = 0;
connection->method = NULL;
connection->url = NULL;
connection->write_buffer = NULL;
--
To stop receiving notification emails like this one, please contact
address@hidden