简体   繁体   中英

HTTP2 max window size

HTTP2 specification clearly states that:

Values above the maximum flow-control window size of (2^31)-1 MUST be treated as a connection error of type FLOW_CONTROL_ERROR .

What is the rationale for this hard limit? What does the limit accomplish? What potential problems is the specification trying to solve by this?

Most likely a concession to languages (like Java) that have signed and unsigned bits so only have 31 bits to play with for integers. Similar to this: Why is the stream identifier 31 bit in HTTP/2 and why is it preceded with a reserved bit?

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM