Alex Li

Results 709 comments of Alex Li

This typically happens when the destination is trying to redirect from a non-TLS to a TLS URL.

Did someone have insights about the cause of the issue and workarounds?

> I am reading into this. The issue is HTTP->HTTP2 redirect handling in this library, correct? So far it does.

Oh sure sorry for the inconvenience. I'll bring up a reproducible example with the package only sooner or later next week.

Set a breakpoint at: https://github.com/dart-lang/http/blob/531d3e587c3214ad07bed1f52fac3f01112bc1ed/pkgs/http2/lib/src/connection.dart#L167 Then debug the below example, also change the `if (transport is ClientConnection)` branch to see different types of `FrameSizeException`. ```dart import 'dart:convert'; import 'dart:io'; import...

> I get a `Unhandled exception: HTTP/2 error: Connection error: Connection is being forcefully terminated. (errorCode: 10)` when using your example. You need to set a debug point like my...

> Each asset (even when it is present in multiple flavors) has `flavors` field which always contains a single flavor at best. What is even the point of this field?...

I guess we can go for the builder, any thought about this? @ueman @kuhnroyal