Commit 3a8158a8 authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Ohh man, I should be too old to make this kind of mistake.

Fortunately there is a backstop, so worst case a request would
just fail.

Spotted by: Erik
Missed by: phk, twice
parent 1a30dde3
......@@ -655,7 +655,7 @@ cnt_fetch(struct sess *sp)
* Space for producing a Content-Length: header including padding
* A billion gigabytes is enough for anybody.
*/
l += strlen("Content-Length: XxxXxxXxxXxxXxxXxx" + sizeof(void *));
l += strlen("Content-Length: XxxXxxXxxXxxXxxXxx") + sizeof(void *);
if (sp->wrk->ttl < sp->t_req + params->shortlived ||
sp->objcore == NULL)
......
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