dart-lang / http2

A HTTP/2 implementation for dart.

Home Page:https://pub.dev/packages/http2

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

http2 hung at await for stream.incomingMessages

wanjm opened this issue · 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;

why there is no one take care of http2

why there is no one take care of http2

Pull Requests are welcome.