Re: Truncated health check response from real servers

From: Nick Chalk <nick#loadbalancer.org>
Date: Wed, 3 Mar 2010 20:12:09 +0000


Hello Willy.

On 2 March 2010 21:45, Willy Tarreau <w#1wt.eu> wrote:
> If your quick ack already works for one single check, then simply
> allocate a buffer for each server in cfgparse.c, and have the
> checks functions use that server-specific buffer instead of
> trash.

Thanks for the pointer. I've added buffer and length variables to struct server, and allocated space with the rest of the server initialisation. Looks to be stable so far, although there's still a problem with very small response packets - something I'll work on tomorrow.

> If you come up with something working well, I'm willing to merge
> it into 1.4, so please do not hesitate to submit your work in
> progress. You'll also get more testers.

When I have something working and presentable, I'll submit the patch.

Thanks,
Nick.

-- 
Nick Chalk.

Loadbalancer.org Ltd.
Phone: +44 (0)870 443 8779
http://www.loadbalancer.org/
Received on 2010/03/03 21:12

This archive was generated by hypermail 2.2.0 : 2010/03/03 21:15 CET