MEDIUM: threads/http: Make http_capture_bad_message thread-safe
authorEmeric Brun <ebrun@haproxy.com>
Thu, 15 Jun 2017 09:30:06 +0000 (11:30 +0200)
committerWilly Tarreau <w@1wt.eu>
Tue, 31 Oct 2017 12:58:31 +0000 (13:58 +0100)
commit8c1aaa201aa2b57c98285bdda7fbff8005f16f96
treea4118cdfee12eac799a82f76a99e21cac19e0469
parente5c918bcefbaa1bd203bc58ec7c3c6b2e52d70a5
MEDIUM: threads/http: Make http_capture_bad_message thread-safe

This is done by passing the right stream's proxy (the frontend or the backend,
depending on the context) to lock the error snapshot used to store the error
info.
include/proto/proto_http.h
src/proto_http.c