Hi,

>> If the session is transferring HTTP body between client and backend server, 
>> we
>> can't insert HTTP headers either. If you are waiting for the next request
>> in that particular session, why wouldn't we just close it after the HTTP body
>> has been transfered?
>
> That would be fine, does that work at present, if the connection
> is persistent?

First of all, SIGUSR1 is not supposed to kill any ongoing transfers.
So in the worst case, you would end up with the process not exiting
for some time.


But yes, since 1.4 at least, haproxy will *disable* keep-alive [1],
once SIGUSR1 is received.


Regards,

Lukas

[1] 
http://www.haproxy.org/git?p=haproxy-1.5.git;a=commit;h=c3e8b25c795461331b142bf0af82e21d7771f68a
                                          

Reply via email to