diff options
author | Max Kellermann <max@musicpd.org> | 2019-04-03 22:53:03 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2019-04-03 22:53:03 +0200 |
commit | 380656d8c97d37c0d97025d64c01cba887245d46 (patch) | |
tree | a53ca010a82c2bce287668eb3a267a11f401d2f5 | |
parent | 9111bc2c2164feeb976e489b4a50111afb11c3fa (diff) |
output/httpd: add missing mutex lock
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | src/output/plugins/httpd/HttpdClient.cxx | 2 |
2 files changed, 3 insertions, 1 deletions
@@ -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; } |