Redirecting on a large POST without reading it entirely

2009-09-24 Thread Patrik Nilsson
Hi, We have a problem where browsers upload photos to a web server behind Haproxy through an HTTP POST. The server checks the headers in the HTTP post to see how big the upload will be. If it is bigger than a set limit the server responds with a redirect to a page informing the users that they

[PATCH] [MEDIUM] Health check reporting code rework + health logging

2009-09-24 Thread Krzysztof Piotr Oledzki
From e6f4aeafe8a7f547679d80a65892315f8f5cf047 Mon Sep 17 00:00:00 2001 From: Krzysztof Piotr Oledzki o...@ans.pl Date: Thu, 24 Sep 2009 20:48:34 +0200 Subject: [MEDIUM] Health check reporting code rework + health logging This patch adds health logging so it possible to check what was happening

Re: sending arbitrary errors to client

2009-09-24 Thread Willy Tarreau
On Thu, Sep 24, 2009 at 10:11:34AM -0700, Joe Williams wrote: Is it possible to send arbitrary errors to the client based on an ACL? Something similar to the block directive but where I can determine the error sent to the client? no, and you're right to remind me about this because I once

Re: [PATCH] [MEDIUM] Health check reporting code rework + health logging

2009-09-24 Thread Willy Tarreau
Hi Krzysztof, On Thu, Sep 24, 2009 at 08:54:36PM +0200, Krzysztof Piotr Oledzki wrote: From e6f4aeafe8a7f547679d80a65892315f8f5cf047 Mon Sep 17 00:00:00 2001 From: Krzysztof Piotr Oledzki o...@ans.pl Date: Thu, 24 Sep 2009 20:48:34 +0200 Subject: [MEDIUM] Health check reporting code rework +

Re: [PATCH] [MEDIUM] Health check reporting code rework + health logging

2009-09-24 Thread Krzysztof Oledzki
On Thu, 24 Sep 2009, Willy Tarreau wrote: Hi Krzysztof, On Thu, Sep 24, 2009 at 08:54:36PM +0200, Krzysztof Piotr Oledzki wrote: From e6f4aeafe8a7f547679d80a65892315f8f5cf047 Mon Sep 17 00:00:00 2001 From: Krzysztof Piotr Oledzki o...@ans.pl Date: Thu, 24 Sep 2009 20:48:34 +0200 Subject:

Re: sending arbitrary errors to client

2009-09-24 Thread Joe Williams
Cool, something like this would be great to have in the arsenal. Think it will make it into 1.4? -Joe On Thu, 24 Sep 2009 22:53:33 +0200 Willy Tarreau w...@1wt.eu wrote: On Thu, Sep 24, 2009 at 10:11:34AM -0700, Joe Williams wrote: Is it possible to send arbitrary errors to the client

Re: sending arbitrary errors to client

2009-09-24 Thread Willy Tarreau
On Thu, Sep 24, 2009 at 03:41:06PM -0700, Joe Williams wrote: Cool, something like this would be great to have in the arsenal. Think it will make it into 1.4? I hope, I have noted it here. But I hope this will not be used to transform haproxy into a RAM-based server :-/ Willy