fix: use http2=False in R2 PUT client to eliminate ALPN h2 extension
Wall 4: httpx(http2=True) sends ALPN [h2, http/1.1] to R2. R2 is HTTP/1.1 only and some backends have a bug where the H2 ALPN extension corrupts TLS state after N connections → SSLV3_ALERT_BAD_RECORD_MAC.
http2=False eliminates the ALPN h2 extension entirely. R2 only speaks HTTP/1.1 so this is correct behavior regardless.
TDD: TestT18R2NoH2ALPN — 18/18 pass in test_presign_upload.py.
sha256:efbeba6ab0699a5a4072f74646b20d803680cdacfa0e97e524ac0b0ecf37faf5
sha
sha256:1a2360907fb87a23c857eeea82ee898cb35346f3fb8233cb06f9757a49b0961a
snapshot
0 comments
To add a comment, use the Muse CLI:
muse hub commit comment sha256:efbeba6ab0699a5a4072f74646b20d803680cdacfa0e97e524ac0b0ecf37faf5 --body "your comment"
No comments yet. Be the first to start the discussion.