linkerd2-proxy/proxy
Sean McArthur 0effefa5d7 proxy: detect TCP socket hang ups from client or server (#463)
We previously `join`ed on piping data from both sides, meaning
that the future didn't complete until **both** sides had disconnected.
Even if the client disconnected, it was possible the server never knew,
and we "leaked" this future.

To fix this, the `join` is replaced with a `Duplex` future, which pipes
from both ends into the other, while also detecting when one side shuts
down. When a side does shutdown, a write shutdown is forwarded to the
other side, to allow draining to occur for deployments that half-close
sockets.

Closes #434
2018-03-02 10:14:54 -08:00
..
convert Prepare for the v0.3.0 release (#406) 2018-02-21 11:14:11 -08:00
futures-mpsc-lossy Prepare for the v0.3.0 release (#406) 2018-02-21 11:14:11 -08:00
router Proxy: Upgrade from ordermap 0.2 crate to indexmap 0.4. (#466) 2018-02-26 19:29:22 -10:00
src proxy: detect TCP socket hang ups from client or server (#463) 2018-03-02 10:14:54 -08:00
tests proxy: detect TCP socket hang ups from client or server (#463) 2018-03-02 10:14:54 -08:00
Cargo.toml Proxy: Update domain dep. to remove rand 0.3 dep. (#495) 2018-03-01 17:16:21 -10:00