Project

General

Profile

Bug #11000

haproxy deprecated trick suggested

Added by Manuel Piovan about 1 month ago.

Status:
New
Priority:
Very Low
Assignee:
-
Category:
haproxy
Target version:
-
Start date:
10/23/2020
Due date:
% Done:

0%

Estimated time:
Affected Version:
2.5.x
Affected Architecture:

Description

haproxy-devel
under backend
the description for "Http check version" say:

Defaults to "HTTP/1.0" if left blank. Note that the Host field is mandatory in HTTP/1.1, and as a trick, it is possible to pass it after "\r\n" following the version string like this:
HTTP/1.1\r\nHost:\ www

but this lead to a Warning

[WARNING] 296/004428 (78254) : parsing [/var/etc/haproxy/haproxy.cfg:67]: 'option httpchk' : hiding headers or body at the end of the version string is deprecated. Please, consider to use 'http-check send' directive instead.
Immagine.jpg (46.3 KB) Immagine.jpg Manuel Piovan, 10/22/2020 05:50 PM
Immagine.jpg (47.3 KB) Immagine.jpg Manuel Piovan, 10/22/2020 05:51 PM

Also available in: Atom PDF