hjr3 / weldr

A HTTP 1.1 proxy written in Rust using tokio.
Apache License 2.0
217 stars 20 forks source link

Use tokio_timer for connection timeout #2

Closed hjr3 closed 7 years ago

hjr3 commented 7 years ago

As reported by @yanns, the timer implementation I had wrote was finishing instantly and would not wait for the Timeout duration.

Fixes #1