BUG/MINOR: mux-h1: Don't switch the parser in busy mode if other side has done
There is no reaon to switch the input parser in busy mode if all the output has been processed. This patch must be backported to 1.9.
This commit is contained in:
parent
91f77d5999
commit
2f320ee59c
@ -1337,7 +1337,8 @@ static size_t h1_process_input(struct h1c *h1c, struct buffer *buf, int flags)
|
||||
break;
|
||||
}
|
||||
else if (h1m->state == H1_MSG_DONE) {
|
||||
h1c->flags |= H1C_F_IN_BUSY;
|
||||
if (h1s->req.state < H1_MSG_DONE || h1s->res.state < H1_MSG_DONE)
|
||||
h1c->flags |= H1C_F_IN_BUSY;
|
||||
break;
|
||||
}
|
||||
else if (h1m->state == H1_MSG_TUNNEL) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user