Repository navigation
Commit 5f2a6a8
authored
Assert on the ALPN extension in test_tunnel_sets_http_11_alpn (#5232)
The test looked for `http/1.1` and `h2` in the ClientHello as a whole,
but the random bytes, the session id and the key shares can spell either
one out by accident. Locally that made it fail roughly once in 400 runs,
and more often on CI, where the key share carries a post-quantum group
and the record is correspondingly larger.1 parent c34a8be commit 5f2a6a8
2 files changed
Lines changed: 14 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1309 | 1309 | | |
1310 | 1310 | | |
1311 | 1311 | | |
1312 | | - | |
| 1312 | + | |
1313 | 1313 | | |
1314 | 1314 | | |
| 1315 | + | |
1315 | 1316 | | |
1316 | 1317 | | |
1317 | | - | |
1318 | | - | |
1319 | | - | |
| 1318 | + | |
| 1319 | + | |
| 1320 | + | |
| 1321 | + | |
| 1322 | + | |
| 1323 | + | |
| 1324 | + | |
| 1325 | + | |
| 1326 | + | |
1320 | 1327 | | |
1321 | 1328 | | |
1322 | 1329 | | |
1323 | | - | |
| 1330 | + | |
1324 | 1331 | | |
1325 | 1332 | | |
1326 | 1333 | | |
1327 | 1334 | | |
1328 | | - | |
1329 | | - | |
| 1335 | + | |
1330 | 1336 | | |
1331 | 1337 | | |
1332 | 1338 | | |
| |||
0 commit comments