Cysharp / YetAnotherHttpHandler

YetAnotherHttpHandler brings the power of HTTP/2 (and gRPC) to Unity and .NET Standard.
MIT License
376 stars 33 forks source link

Fix http1 not being enabled in tls #96

Closed triktron closed 2 months ago

triktron commented 2 months ago

The hyper_rustls builder had only HTTP/2 enabled, which caused failures when connecting to HTTPS servers that don't support HTTP/2. Changing enable_http2 to enable_all_versions, allowing fallback to earlier HTTP versions and resolving the issue.

mayuki commented 2 months ago

Thank you for your contribution! Looks good to me.