output/httpd: add missing mutex lock
This commit is contained in:
		
							
								
								
									
										2
									
								
								NEWS
									
									
									
									
									
								
							
							
						
						
									
										2
									
								
								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) | ||||
|   | ||||
| @@ -154,7 +154,7 @@ HttpdClient::SendResponse() noexcept | ||||
| 		FormatWarning(httpd_output_domain, | ||||
| 			      "failed to write to client: %s", | ||||
| 			      (const char *)msg); | ||||
| 		Close(); | ||||
| 		LockClose(); | ||||
| 		return false; | ||||
| 	} | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Max Kellermann
					Max Kellermann