refactor(client): skip some pool housekeeping on shared h2 handles

This commit is contained in:
Sean McArthur
2018-04-18 16:36:52 -07:00
parent 38eba1540f
commit 1328412f82
3 changed files with 59 additions and 23 deletions

View File

@@ -251,7 +251,12 @@ impl Connect for HttpConnector {
type Future = HttpConnecting;
fn connect(&self, dst: Destination) -> Self::Future {
trace!("Http::connect({:?})", dst.uri);
trace!(
"Http::connect; scheme={}, host={}, port={:?}",
dst.scheme(),
dst.host(),
dst.port(),
);
if self.enforce_http {
if dst.uri.scheme_part() != Some(&Scheme::HTTP) {