From 380656d8c97d37c0d97025d64c01cba887245d46 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 3 Apr 2019 22:53:03 +0200 Subject: [PATCH] output/httpd: add missing mutex lock --- NEWS | 2 ++ src/output/plugins/httpd/HttpdClient.cxx | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/NEWS b/NEWS index 388f8dd7b..6712fdf37 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,6 @@ ver 0.21.8 (not yet released) +* output + - httpd: add missing mutex lock * fix build failure with GCC 9 ver 0.21.7 (2019/04/03) diff --git a/src/output/plugins/httpd/HttpdClient.cxx b/src/output/plugins/httpd/HttpdClient.cxx index df4e6ded1..205689462 100644 --- a/src/output/plugins/httpd/HttpdClient.cxx +++ b/src/output/plugins/httpd/HttpdClient.cxx @@ -154,7 +154,7 @@ HttpdClient::SendResponse() noexcept FormatWarning(httpd_output_domain, "failed to write to client: %s", (const char *)msg); - Close(); + LockClose(); return false; }