Be sure content_length is 0, just in case.

This commit is contained in:
Joris Vink 2021-09-17 19:56:35 +02:00
parent 6b1f02e6b0
commit 63bbc1fa0f

View File

@ -2038,6 +2038,7 @@ http_request_new(struct connection *c, const char *host,
req->http_body = NULL;
req->http_body_fd = -1;
req->hdlr_extra = NULL;
req->content_length = 0;
req->query_string = NULL;
req->http_body_length = 0;
req->http_body_offset = 0;