apple / apple/swift-nio-examples
http2-client should use ALPNHandler
Open
- Dominant language
- Swift
- Stars
- 254
- Forks
- 67
- PR merge metrics
- No merged PRs in 30d
Description
### Expected behavior
Failure to negotiate HTTP/2 should either be reported, or tolerated.
### Actual behavior
http2-client ignores the failure to negotiate HTTP/2 and just sends it anyway, leading to errors.
### Steps to reproduce
1. Attempt to reach https://amazon.com
2. Observe errors reported.
Contributor guide
Research direction
Start with the http2-client example and inspect how it configures or uses ALPNHandler. Reproduce the behavior against https://amazon.com and verify that failure to negotiate HTTP/2 is either reported or tolerated without sending HTTP/2 requests anyway.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- networking
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100