Commit 871af25
fix: could panic if http2 disabled but TLS negotiated h2 (seanmonstar#2194)
The fix is only ask for h2 ALPN iff the http2 feature is enabled.
Closes seanmonstar#21921 parent 97886ac commit 871af25
1 file changed
+5
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
592 | 592 | | |
593 | 593 | | |
594 | 594 | | |
595 | | - | |
| 595 | + | |
| 596 | + | |
| 597 | + | |
| 598 | + | |
| 599 | + | |
596 | 600 | | |
597 | 601 | | |
598 | 602 | | |
| |||
0 commit comments