mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-23 01:42:05 -05:00
BUG/MEDIUM: mux-h2: properly update the window size in HTX mode
When sending data in HTX mode, we forgot to update the window size, it was the cause of the limitation to 1 GB in testing. No backport is needed.
This commit is contained in:
parent
8122a8d681
commit
0f799ca4df
1 changed files with 2 additions and 0 deletions
|
|
@ -4369,6 +4369,8 @@ static size_t h2s_htx_frt_make_resp_data(struct h2s *h2s, struct htx *htx)
|
|||
|
||||
/* now let's copy this this into the output buffer */
|
||||
memcpy(outbuf.area + 9, htx_get_blk_ptr(htx, blk), fsize);
|
||||
h2s->mws -= fsize;
|
||||
h2c->mws -= fsize;
|
||||
|
||||
send_empty:
|
||||
/* update the frame's size */
|
||||
|
|
|
|||
Loading…
Reference in a new issue