0-RTT Design for HTTP/2

As part of our adoption call for HTTP/2 (reprise), I opened https://github.com/httpwg/http2-spec/issues/781 regarding the use of TLS early data.

I thought that it might be worth the time to go through the exercise of defining an extension to h2 that enabled saving of settings across connections.  Here it is:

   https://martinthomson.github.io/h2-0rtt/draft-thomson-httpbis-h2-0rtt.html

For those who prefer text: https://tools.ietf.org/html/draft-thomson-httpbis-h2-0rtt-00

Though this is conceptually simple (indicate 1 if you are prepared to remember settings), there are enough fiddly details here that I'm now unsure whether it is worthwhile trying to roll into our revision of HTTP/2.

I'm interested in what people think about this.  One of the major criticisms of the current arrangement is the time it takes to learn that an extension is available and this could help with that.

Cheers,
Martin

Received on Wednesday, 16 December 2020 07:12:33 UTC