http2 icon indicating copy to clipboard operation
http2 copied to clipboard

http2 hung at await for stream.incomingMessages

Open wanjm opened this issue 4 years ago • 2 comments

in http2 demo there is such code to deal message;

var stream = transport.makeRequest(headers, endStream: true);
  await for (var message in stream.incomingMessages) {

but if the connection is closed after makeRequest, then the await will hung there;

wanjm avatar Jan 21 '21 09:01 wanjm

why there is no one take care of http2

wanjm avatar Jan 22 '21 16:01 wanjm

why there is no one take care of http2

Pull Requests are welcome.

mraleph avatar Jan 25 '21 08:01 mraleph