diff options
-rw-r--r-- | .bleep | 2 | ||||
-rw-r--r-- | pingora-core/src/connectors/http/v2.rs | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1 +1 @@ -05356d8d19882e125b57f2b855ec744bec733d40
\ No newline at end of file +906381d13d3541a2f4c6abb8be4101398abd0203
\ No newline at end of file diff --git a/pingora-core/src/connectors/http/v2.rs b/pingora-core/src/connectors/http/v2.rs index ce9213b..05b3072 100644 --- a/pingora-core/src/connectors/http/v2.rs +++ b/pingora-core/src/connectors/http/v2.rs @@ -143,7 +143,7 @@ impl ConnectionRef { // Remote sends GOAWAY(NO_ERROR): graceful shutdown: this connection no longer // accepts new streams. We can still try to create new connection. if e.root_cause() - .downcast_ref::<Box<h2::Error>>() + .downcast_ref::<h2::Error>() .map(|e| { e.is_go_away() && e.is_remote() && e.reason() == Some(h2::Reason::NO_ERROR) }) |