refactor(proto): return Error::Incomplete instead of UnexpectedEof
This commit is contained in:
@@ -425,7 +425,7 @@ test! {
|
||||
body: None,
|
||||
proxy: false,
|
||||
error: |err| match err {
|
||||
&hyper::Error::Io(_) => true,
|
||||
&hyper::Error::Incomplete => true,
|
||||
_ => false,
|
||||
},
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user