Project

General

Profile

Actions

Bug #11000

open

haproxy deprecated trick suggested

Added by Manuel Piovan over 3 years ago. Updated over 3 years ago.

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

0%

Estimated time:
Plus Target Version:
Affected Version:
2.5.x
Affected Plus Version:
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.

Files

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
Actions

Also available in: Atom PDF