use a stale check in the pool

Check that a socket is not EOF to reduce the likelihood of using
a bad pooled connection.
This commit is contained in:
Sean McArthur
2017-06-06 13:31:28 -07:00
parent 9c258cc7e9
commit 00382f8d06
3 changed files with 89 additions and 10 deletions

View File

@@ -123,6 +123,7 @@ extern crate hyper;
#[macro_use]
extern crate log;
extern crate libc;
extern crate libflate;
extern crate hyper_native_tls;
extern crate serde;