bug #37151 HTTP header corrupted in http_post_request
This commit is contained in:
parent
7c9f0dce5a
commit
f9147eb997
|
@ -1729,7 +1729,6 @@ http_post_request(struct pbuf **inp, struct http_state *hs,
|
|||
if (scontent_len_end != NULL) {
|
||||
int content_len;
|
||||
char *conten_len_num = scontent_len + HTTP_HDR_CONTENT_LEN_LEN;
|
||||
*scontent_len_end = 0;
|
||||
content_len = atoi(conten_len_num);
|
||||
if (content_len > 0) {
|
||||
/* adjust length of HTTP header passed to application */
|
||||
|
|
Loading…
Reference in New Issue