答案 0 :(得分:0)
实际上,帧大小是动态的,应该根据拥塞情况改变两端:
A receiver that wishes to use a smaller flow control window than the current size can send a new SETTINGS frame.
https://tools.ietf.org/html/draft-ietf-httpbis-http2-04#section-6.9.2
所以我想我们必须使缓冲区与当前帧大小匹配。