diff options
Diffstat (limited to 'http')
-rw-r--r-- | http/http_client.hpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/http/http_client.hpp b/http/http_client.hpp index 0bfb3818df..107f943923 100644 --- a/http/http_client.hpp +++ b/http/http_client.hpp @@ -706,7 +706,7 @@ class ConnectionPool : public std::enable_shared_from_this<ConnectionPool> // Server is not keep-alive enabled so we need to close the // connection and then start over from resolve conn->doClose(); - conn->doResolve(); + conn->restartConnection(); } return; } @@ -760,7 +760,7 @@ class ConnectionPool : public std::enable_shared_from_this<ConnectionPool> { BMCWEB_LOG_DEBUG("Reusing existing connection {}", commonMsg); - conn->doResolve(); + conn->restartConnection(); } return; } |