Re: option httpchk

From: Willy Tarreau <w#1wt.eu>
Date: Fri, 21 Mar 2008 20:15:35 +0100


Hi Lars,

On Thu, Mar 20, 2008 at 02:59:28PM +0100, Lars Braeuer wrote:
> Hi all,
>
> there's a small detail missing in the docs.
>
> In "option httpchk" (<version>) the white space right before the actual
> hostname must be escape, in order to be considered by the healthcheck. This
> might be obvious, because of "\r\n", but to some it might not be obvious.
>
> I.e.
>
> Wrong:
> option httpchk OPTIONS * HTTP/1.1\r\nHost: www
>
> Right:
> option httpchk OPTIONS * HTTP/1.1\r\nHost:\ www

Oh yes, good catch, it's wrong in the doc. I'm fixing it now.

BTW, I think that I will adjust the "option httpchk" so that it automatically concatenates all arguments with spaces, just like the shell does. It will make it easier to add such dirty hacks, eventhough other options would be more appropriate.

Thanks,
Willy Received on 2008/03/21 20:15

This archive was generated by hypermail 2.2.0 : 2008/03/21 20:30 CET