Re: Partial response

2020-10-11 Thread Willy Tarreau
On Sun, Oct 11, 2020 at 04:47:32PM +0330, Seena Fallah wrote:
> Hi. Does haproxy support partial response form servers?
> In nginx there is a parameter named proxy_read_timeout that defines a
> timeout for reading a response from the proxied server. The timeout is set
> only between two successive read operations, not for the transmission of
> the whole response. If the proxied server does not transmit anything within
> this time, the connection is closed.
> Does Haproxy have this option too?

I don't know why you call this a feature or "partial response", it's the
normal way to support a read timeout and I'm pretty sure that every single
proxy around supports this as it's absolutely mandatory if you don't want
to restart your process every now and then. In haproxy you even get a
warning if you forget to set such a timeout (it's called "timeout server").

Willy



Partial response

2020-10-11 Thread Seena Fallah
Hi. Does haproxy support partial response form servers?
In nginx there is a parameter named proxy_read_timeout that defines a
timeout for reading a response from the proxied server. The timeout is set
only between two successive read operations, not for the transmission of
the whole response. If the proxied server does not transmit anything within
this time, the connection is closed.
Does Haproxy have this option too?