The `timeout` module has very little to do with the proxy, specifically. This change moves it into a dedicated subcrate. This helps to clarify dependencies and to minimize generic logic in the main proxy crate. In doing this, an unused implementation of AsyncRead/AsyncWrite for Timeout was deleted. Furthermore, the `HumanDuration` type has been copied into tests/support/mod.rs so that this type need not be part of the timeout module's public API. |
||
---|---|---|
.. | ||
client.rs | ||
controller.rs | ||
mod.rs | ||
proxy.rs | ||
server.rs | ||
tcp.rs |