For deciding to set the BF_EXPECT_MORE, we reused the same code as in
http_wait_for_request(), but here we must ignore buf->lr which is not
yet set and useless. This might only have caused random sub-optimal
behaviours.
if (s->req->l > s->req->send_max) {
if (s->rep->send_max &&
!(s->rep->flags & BF_FULL) &&
- s->rep->lr <= s->rep->r &&
s->rep->r <= s->rep->data + s->rep->size - global.tune.maxrewrite)
s->rep->flags |= BF_EXPECT_MORE;
}