On Wed, Jul 07, 2010 at 05:49:24PM +0200, Hervé COMMOWICK wrote:
>  Oh right, you mean adjust buffer size (to permit large cookies to
> pass) per listen section.
> 
> As i know, it is not possible at the moment.
> 
> Maybe Willy can talk a bit about that ? :)

Indeed, and I really don't think it will ever be possible due to
the fact that we're using memory pools for various data types
(eg: a buffer). Adding support for multiple buffer sizes would
make memory management more complex, less robust, and will cause
an important waste of memory.

> As a workaround (dirty?), you can have a dedicated HAProxy process
> with his specific configuration.

It's not dirty at all in my opinion, and it even allows you to play
with this tuning without affecting the other customers. You should
remind your customer the two following important points :

  - having large cookies means that his site will be extremely slow
    for many customers who have to upload the large cookie with
    *every request* for *every object* ;

  - some visitors will never be able to properly access the site,
    either due to browser limitations or to enterprise infrastructure
    limitations.

Regards,
Willy


Reply via email to