Commit 9aa73fb
committed
Make Stream::rewind() public for protocol detection
PreTlsProcess implementations need to put data back onto the stream
when it doesn't match the expected protocol signature. This lets the
PROXY protocol handler rewind non-PROXY data so TLS proceeds normally.1 parent b3d1960 commit 9aa73fb
1 file changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
445 | 445 | | |
446 | 446 | | |
447 | 447 | | |
448 | | - | |
449 | | - | |
| 448 | + | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
450 | 453 | | |
451 | 454 | | |
452 | 455 | | |
| |||
0 commit comments