RE: [ANNOUNCE] haproxy 1.5-dev3

2010-11-14 Thread Jeff Buchbinder
On 11/11/2010 06:34 PM, Willy Tarreau wrote: Now you know where to get it : site index : http://haproxy.1wt.eu/ sources : http://haproxy.1wt.eu/download/1.5/src/devel/ changelog : http://haproxy.1wt.eu/download/1.5/src/CHANGELOG stunnel patches :

Re: [ANNOUNCE] haproxy 1.5-dev3

2010-11-14 Thread Cyril Bonté
Hi Willy, Le vendredi 12 novembre 2010 16:45:54, Willy Tarreau a écrit : Thank you Cyril, I'll forward all that material to Emeric in case he finds a clue about that. I hope we're not hitting buffer size limits or things like this on the unix sockets :-/ OK, it took me some times and a lot of

Re: [ANNOUNCE] haproxy 1.5-dev3

2010-11-14 Thread Willy Tarreau
Hi Cyril, On Sun, Nov 14, 2010 at 02:57:42PM +0100, Cyril Bonté wrote: Hi Willy, Le vendredi 12 novembre 2010 16:45:54, Willy Tarreau a écrit : Thank you Cyril, I'll forward all that material to Emeric in case he finds a clue about that. I hope we're not hitting buffer size limits or

Re: [ANNOUNCE] haproxy 1.5-dev3

2010-11-14 Thread Cyril Bonté
Le dimanche 14 novembre 2010 15:06:50, Willy Tarreau a écrit : In my opinion, we should use the listener's backlog. This will require some code changes in order to be able to pass the backlog's size to create_uxst_socket(). On the other hand, this function is quite old now and is only used by

unix sockets : inherits the backlog size from the listener

2010-11-14 Thread Cyril Bonté
Hi again Willy, you'll find the patch to fix the listen backlog for unix sockets. I split it in 2 patches to let you decide if create_uxst_socket() can disappear ;-) [PATCH 1/2] [MINOR] unix sockets : inherits the backlog size from the listener [PATCH 2/2] [CLEANUP] unix sockets : move

[PATCH 1/2] [MINOR] unix sockets : inherits the backlog size from the listener

2010-11-14 Thread Cyril Bonté
Since unix sockets are supported for bind, the default backlog size was not enough to accept the traffic. The size is now inherited from the listener to behave like the tcp listeners. This also affects the stats socket backlog, which is now determined by stats maxconn. --- src/proto_uxst.c |

[PATCH 2/2] [CLEANUP] unix sockets : move create_uxst_socket() in uxst_bind_listener()

2010-11-14 Thread Cyril Bonté
The code of create_uxst_socket() is moved in uxst_bind_listener() so that we don't need to pass a lot of parameters, as it was only called there. --- src/proto_uxst.c | 183 +- 1 files changed, 84 insertions(+), 99 deletions(-) diff --git

Re: unix sockets : inherits the backlog size from the listener

2010-11-14 Thread Willy Tarreau
On Sun, Nov 14, 2010 at 05:03:17PM +0100, Cyril Bonté wrote: Hi again Willy, you'll find the patch to fix the listen backlog for unix sockets. I split it in 2 patches to let you decide if create_uxst_socket() can disappear ;-) [PATCH 1/2] [MINOR] unix sockets : inherits the backlog size

Re: appsession does not work in Haproxy 1.4.9

2010-11-14 Thread Hogan Yu
HI Willy, Great thanks for you explanation. About the second part you introduced, In part, because right now all browsers support cookies and have done so for the last 10 years at least. Even WAP gateways and terminals do support cookies. What you may find are browsers where cookie support has

Re: appsession does not work in Haproxy 1.4.9

2010-11-14 Thread Willy Tarreau
On Mon, Nov 15, 2010 at 09:57:08AM +0800, Hogan Yu wrote: HI Willy, Great thanks for you explanation. About the second part you introduced, In part, because right now all browsers support cookies and have done so for the last 10 years at least. Even WAP gateways and terminals do support