shotgun icon indicating copy to clipboard operation
shotgun copied to clipboard

Add HTTP2 async/streaming support

Open zurab-darkly opened this issue 2 years ago • 0 comments

Currently, with HTTP1 shotgun is able to handle async SSE streams by using special logic when it detects the chunked transfer encoding header. For HTTP2, which gun will use when available, shotgun will try to process it as a non-chunked request (since HTTP2 doesn't support chunking) and end up in gen_statem timeout.

It seems like we'll need a new HTTP2 way to handle streams.

zurab-darkly avatar Sep 11 '21 01:09 zurab-darkly