Copy most of the implementation of `connection::Connection` to create a way to prefix a `TcpStream` with some previously-read bytes. This will allow us to read and parse a TLS ClientHello message to see if it is intended for the proxy to process, and then "rewind" and feed it back into the TLS implementation if so. This must be in the `transport` submodule in order for it to implement the private `Io` trait. Signed-off-by: Brian Smith <brian@briansmith.org> |
||
---|---|---|
.github | ||
proxy | ||
CONTRIBUTING.md | ||
Cargo.lock | ||
Cargo.toml | ||
DCO | ||
LICENSE |