BUG/MEDIUM: stream: Only allow L7 retries when using HTTP.
authorOlivier Houchard <cognet@ci0.org>
Wed, 13 May 2020 17:07:20 +0000 (19:07 +0200)
committerOlivier Houchard <cognet@ci0.org>
Wed, 13 May 2020 17:07:20 +0000 (19:07 +0200)
commit7dd7b908db1cb804ffe30ef208f7eac1824c1889
tree2ff64d07abfd6693fe82e0b97121e52de23c5cea
parent8cabc9783aaa8309f4ec6f7dd95cd74c61ed2e61
BUG/MEDIUM: stream: Only allow L7 retries when using HTTP.

Only allow L7 retries when using HTTP, it only really makes sense for HTTP,
anyway, and as the L7 retries code assume the message will be HTX, it will
crash when used with mode TCP.
This should fix github issue #627.

This should be backported to 2.1 and 2.0.
src/stream.c