On 06/12/2022 17:11, Christopher Schultz wrote:
Mark,
On 12/6/22 11:21, Mark Thomas wrote:
Hi all,
I plan to implement RFC 9218 [1] for HTTP/2 in Tomcat 11. Depending on
how that goes, I may back-port the changes.
Given the difficulties we have in prioritizing creation of responses,
I plan to continue the current approach of prioritizing the sending of
data when the connection window size is smaller than the currently
active streams have collectively requested.
My rough plan at this stage, which is likely to change as I work
through the implementation, is:
- remove all the code that supports the current priority tree approach
- include SETTINGS_NO_RFC7540_PRIORITIES in the initial settings
- implement the new priority scheme - expected to be a much simpler
algorithm in Http2UpgradeHandler.allocate()
+1
I didn't realize we had any prioritization code in Tomcat at all at this
point. Why would the new implementation be simpler? Because we've been
given a very straightforward set of rules by the RFC which will be
replacing an ad-hoc heuristic implementation?
The scheme described in RFC 9218 is simpler than the one described in
RFC 7540. How you apply the priorities is still our problem, but the
data we have to work with is a lot simpler.
Mark
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org
For additional commands, e-mail: dev-h...@tomcat.apache.org