linkerd2/proxy
Eliza Weisman 5bba831f9b
proxy: Fix ConditionallyUpgradeServerToTls not being notified (#1209)
#1203 introduced a bug in the implementation of `Future` for 
`connection::ConditionallyUpgradeServerToTls`. If the attempt to match
the current peek buffer was incomplete, the `Future` implementation
would return `Ok(Async::NotReady)`. This results in the task yielding.
However, in this case the task would not be notified again, as the 
`NotReady` state wasn't from an underlying IO resource. Instead, the
would _never_ be ready.

This branch fixes this issue by simply continuing the loop, so that 
we instead try to read more bytes from the socket and try to match
again, until the match is successful or the _socket_ returns `NotReady`.

Signed-off-by: Eliza Weisman <eliza@buoyant.io>
2018-06-26 16:55:55 -07:00
..
benches Proxy: More carefully keep track of the reason TLS isn't used. (#1164) 2018-06-20 07:40:49 -10:00
controller-grpc proxy: Update prost to 0.4.0 (#1127) 2018-06-14 16:29:41 -07:00
futures-mpsc-lossy Prepare for the v0.3.0 release (#406) 2018-02-21 11:14:11 -08:00
router proxy/router: Implement LRU cache eviction (#925) 2018-05-10 19:06:31 -07:00
src proxy: Fix ConditionallyUpgradeServerToTls not being notified (#1209) 2018-06-26 16:55:55 -07:00
tests proxy: enable HTTP CONNECT request support (#1200) 2018-06-26 16:45:06 -07:00
Cargo.toml proxy: enable HTTP CONNECT request support (#1200) 2018-06-26 16:45:06 -07:00
Dockerfile proxy: update Rust compiler to 1.27.0 (#1207) 2018-06-26 13:12:17 -07:00