diff --git a/src/shrpx_downstream.cc b/src/shrpx_downstream.cc index 2984776c..dc7762d0 100644 --- a/src/shrpx_downstream.cc +++ b/src/shrpx_downstream.cc @@ -240,10 +240,6 @@ void Downstream::detach_downstream_connection() { auto handler = dconn_->get_client_handler(); - if (!handler) { - return; - } - handler->pool_downstream_connection( std::unique_ptr(dconn_.release())); }