diff --git a/src/output/plugins/httpd/HttpdClient.cxx b/src/output/plugins/httpd/HttpdClient.cxx index 205689462..db602b955 100644 --- a/src/output/plugins/httpd/HttpdClient.cxx +++ b/src/output/plugins/httpd/HttpdClient.cxx @@ -428,6 +428,7 @@ void HttpdClient::OnSocketError(std::exception_ptr ep) noexcept { LogError(ep); + LockClose(); } void