From e9465f0ee59ebcc5f52614e787459092067ee128 Mon Sep 17 00:00:00 2001 From: Tatsuhiro Tsujikawa Date: Tue, 14 Jul 2020 01:08:43 +0900 Subject: [PATCH] Revert "nghttpx: Fix ubsan error" This reverts commit 14dfeee4ed4fa9cf02594ca471404f5983fb666e. --- src/shrpx_downstream.cc | 4 ---- 1 file changed, 4 deletions(-) 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())); }