On Sun, Jan 24, 2016 at 07:51:16PM +0100, Cyril Bonté wrote:
> Le 24/01/2016 19:42, Willy Tarreau a écrit :
> >- when I tried to lower the buffer size, I entered exactly 16000. For a
> >   reason I ignore, the transfer hangs after the end of the first 
> >   transfer.
> >   I have not investigated this and it could be my server (a hacked 
> >   haproxy
> >   1.6 modified to implement the good old httpterm). So I don't consider
> >   this a real issue until investigated for real.
> 
> It hangs here too (I'm using apache as a backend server).

Ah cool, so we really have 3 bugs to fix in the end. I'm scratching
my head again around the channel_reserved() function. The mechanism
is theorically simple (what part of the buffer must not be touched)
but practically complex (depends on the programmed forward count).
Since the same computation is present in channel_may_recv() I wouldn't
be surprized that this last one is bogus and ends up saying we cannot
receive.

Willy


Reply via email to