output/httpd: add missing mutex lock

This commit is contained in:
Max Kellermann
2019-04-03 22:53:03 +02:00
parent 9111bc2c21
commit 380656d8c9
2 changed files with 3 additions and 1 deletions

View File

@@ -154,7 +154,7 @@ HttpdClient::SendResponse() noexcept
FormatWarning(httpd_output_domain,
"failed to write to client: %s",
(const char *)msg);
Close();
LockClose();
return false;
}