Network Image - Connection closed before full header was received... · Issue #25107 · flutter/flutter

PHOTO EMBED

Thu Sep 23 2021 23:43:58 GMT+0000 (UTC)

Saved by @viewsource

class MyHttpOverrides extends HttpOverrides {
  @override
  HttpClient createHttpClient(SecurityContext context) {
    return super.createHttpClient(context)
        ..maxConnectionsPerHost = 5;
  }
}

void main() {
  HttpOverrides.global = MyHttpOverrides();
  runApp(MyApp());
}
content_copyCOPY

https://github.com/flutter/flutter/issues/25107