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

@@ -10,8 +10,9 @@ license = "MIT/Apache-2.0"
categories = ["web-programming::http-client"]
[dependencies]
hyper = "0.10.2"
hyper-native-tls = "0.2.3"
hyper = "0.10.12"
hyper-native-tls = "0.2.4"
libc = "0.2"
log = "0.3"
serde = "1.0"
serde_json = "1.0"