Willy Tarreau 5575896ba1 BUG/MEDIUM: capture: capture-req/capture-res converters crash without a stream
Since commit 5f940703b3 ("MINOR: log: Don't depends on a stream to process
samples in log-format string") it has become quite obvious that a few sample
fetch functions and converters were still heavily dependent on the presence
of a stream without testing for it.

The capture-req and capture-res converters were in this case and could
crash the process if misused.

This fix adds a check for the stream's existence, and should be backported
to all stable versions up to 1.6.
2020-04-29 11:29:17 +02:00
..
2019-09-08 12:20:13 +02:00
2020-03-05 19:52:07 +01:00
2020-04-28 16:30:13 +02:00
2020-04-27 09:39:37 +02:00