summaryrefslogtreecommitdiff
path: root/src/serv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/serv.c')
-rw-r--r--src/serv.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/serv.c b/src/serv.c
index 0387a5a90a..6da39da7de 100644
--- a/src/serv.c
+++ b/src/serv.c
@@ -1547,6 +1547,7 @@ static void tcp_server(const char *name, int port)
j->http_state = HTTP_STATE_REQUEST;
free(j->
http_response);
+ j->http_response = NULL;
j->response_length = 0;
j->request_length = 0;
j->http_request[0] = 0;