Commit ac7eb88
PUSH_PROMISE: fix promised stream id validation
https://tools.ietf.org/html/rfc7540#section-6.6
The promised stream identifier MUST be a valid choice for the next
stream sent by the sender (see "new stream identifier" in Section
5.1.1).
https://tools.ietf.org/html/rfc7540#section-5.1.1
Streams [...] initiated by the server MUST use even-numbered stream
identifiers.
https://tools.ietf.org/html/rfc7540#section-8.2
[...] servers MUST treat the receipt of a PUSH_PROMISE frame as a connection error1 parent 1e14ced commit ac7eb88
3 files changed
+17
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
12 | 12 | | |
13 | 13 | | |
14 | 14 | | |
| 15 | + | |
15 | 16 | | |
16 | 17 | | |
17 | 18 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
485 | 485 | | |
486 | 486 | | |
487 | 487 | | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
488 | 494 | | |
489 | 495 | | |
490 | 496 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
437 | 437 | | |
438 | 438 | | |
439 | 439 | | |
440 | | - | |
| 440 | + | |
441 | 441 | | |
442 | 442 | | |
443 | 443 | | |
444 | 444 | | |
445 | 445 | | |
446 | 446 | | |
| 447 | + | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
447 | 456 | | |
448 | 457 | | |
449 | 458 | | |
| |||
0 commit comments