Hello,

I am thinking about the HTTP/2 implementation we might have in MINA3 and I
want to share it with you.
As of yet, we have a basic HTTP/2 layer that just encode and decode HTTP/2
frames. This is not enough as the user has to manage the conversion between
HTTP/1.x PDUs (requests and responses) and HTTP/2 frames. No talking about
the flow control management.
We need to expose HTTP/2 streams to the user: I see to possible
implementations:

   1. transmit the stream ID in HTTP/1.x messages but this will break the
   read-only nature of the those messages as the stream ID is created when a
   new HTTP request is sent
   2. Provider an HTTP/2 view of the MINA session where the user could
   allocate streams and also receive notification for new streams (in case of
   server push). This HTTP/2 view will be provided through an helper method.

WDYT ?
Jeff

-- 
Jeff MAURY


"Legacy code" often differs from its suggested alternative by actually
working and scaling.
 - Bjarne Stroustrup

http://www.jeffmaury.com
http://riadiscuss.jeffmaury.com
http://www.twitter.com/jeffmaury

Reply via email to