Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Http2Adapter uses always http2 even when endpoint doesn't support it #972

Closed
FrantisekGazo opened this issue Oct 21, 2020 · 2 comments
Closed

Comments

@FrantisekGazo
Copy link

Issue Info

Info Value
Platform Name flutter
Platform Version 1.20.4
Dio Version 3.0.10
Http2Adapter Version 1.0.1
Android Studio / Xcode Version Android Studio 4.0.1
Repro rate all the time (100%)
Repro with our demo prj no

Issue Description and Steps

When I make post request to an endpoint that doesn't support http2 the request fails with error like here #486 , but it doesn't happen if endpoint supports http2.

The http1 should still be supported as a fallback and not force to use http2 always.

@stale
Copy link

stale bot commented Nov 21, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. If this is still an issue, please make sure it is up to date and if so, add a comment that this is still an issue to keep it open. Thank you for your contributions.

@stale stale bot added the stale label Nov 21, 2020
@stale stale bot closed this as completed Nov 28, 2020
@sd148684
Copy link

We are facing the same issue here, is there any plan for implement a http/1.1 downgrade strategy, or have a workaround at least?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants