refactor(http2): make several http2 errors more specific

This commit is contained in:
Sean McArthur
2018-12-11 15:59:35 -08:00
parent f8f926c14c
commit 9b69fa9740
2 changed files with 6 additions and 6 deletions

View File

@@ -117,7 +117,7 @@ where
Ok(ok) => ok,
Err(err) => {
debug!("client send request error: {}", err);
let _ = cb.send(Err((::Error::new_h2(err), None)));
let _ = cb.send(Err((::Error::new_canceled(err), None)));
continue;
}
};