Commit 1e10a0df authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Dump the received chunk by length, rather than until NUL

parent ea19d463
...@@ -413,7 +413,7 @@ http_swallow_body(struct http *hp, char * const *hh, int body) ...@@ -413,7 +413,7 @@ http_swallow_body(struct http *hp, char * const *hh, int body)
ll += i; ll += i;
http_rxchar(hp, i); http_rxchar(hp, i);
vtc_dump(hp->vl, 4, "chunk", vtc_dump(hp->vl, 4, "chunk",
hp->rxbuf + l, -1); hp->rxbuf + l, i);
} }
l = hp->prxbuf; l = hp->prxbuf;
http_rxchar(hp, 2); http_rxchar(hp, 2);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment