Re: [PATCH] SPDY: fixed handling of sc->length in ngx_http_spdy_state_read_data()

2014-03-27 Thread Valentin V. Bartenev
On Thursday 27 March 2014 09:02:57 Xiaochen Wang wrote: > hi > > > On Thu, Mar 27, 2014 at 1:01 AM, Valentin V. Bartenev wrote: > > > On Wednesday 26 March 2014 12:30:11 Xiaochen Wang wrote: > > > In our production, sometimes, the disk was full. In which case, the > > requests > > > after the P

[PATCH] Added so_freebind and so_transparent to the listen directive

2014-03-27 Thread Trygve Vea
# HG changeset patch # User Trygve Vea # Date 1395933815 -3600 # Thu Mar 27 16:23:35 2014 +0100 # Node ID 13e6a37c2f57443b0d5dd0abce8d9d4ab00e31e3 # Parent 2411d4b5be2ca690a5a00a1d8ad96ff69a00317f Added so_freebind and so_transparent to the listen directive This solves a Linux/IPv6-specific

proxy_pass behavior

2014-03-27 Thread Jim Popovitch
Hello, Should proxy_pass retry ipv4 if ipv6 fails? Currently (1.5.12), it does not, and there is no way to force proxy_pass to always use ipv4. Specifically, if a proxy_pass host has dual records (A+), proxy_pass seems to only try the . I'm considering submitting a patch if there is su

Re: proxy_pass behavior

2014-03-27 Thread Maxim Dounin
Hello! On Thu, Mar 27, 2014 at 12:29:03PM -0400, Jim Popovitch wrote: > Should proxy_pass retry ipv4 if ipv6 fails? Currently (1.5.12), it > does not, and there is no way to force proxy_pass to always use ipv4. In no particular order: - The proxy_next_upstream is expected to retry by default.

Re: proxy_pass behavior

2014-03-27 Thread Jim Popovitch
On Thu, Mar 27, 2014 at 12:59 PM, Maxim Dounin wrote: > Hello! > > On Thu, Mar 27, 2014 at 12:29:03PM -0400, Jim Popovitch wrote: > >> Should proxy_pass retry ipv4 if ipv6 fails? Currently (1.5.12), it >> does not, and there is no way to force proxy_pass to always use ipv4. > > In no particular

Re: [PATCH] Added so_freebind and so_transparent to the listen directive

2014-03-27 Thread Maxim Dounin
Hello! On Thu, Mar 27, 2014 at 04:34:37PM +0100, Trygve Vea wrote: > # HG changeset patch > # User Trygve Vea > # Date 1395933815 -3600 > # Thu Mar 27 16:23:35 2014 +0100 > # Node ID 13e6a37c2f57443b0d5dd0abce8d9d4ab00e31e3 > # Parent 2411d4b5be2ca690a5a00a1d8ad96ff69a00317f > Added so_fre

Re: proxy_pass behavior

2014-03-27 Thread Maxim Dounin
Hello! On Thu, Mar 27, 2014 at 01:12:18PM -0400, Jim Popovitch wrote: > On Thu, Mar 27, 2014 at 12:59 PM, Maxim Dounin wrote: > > Hello! > > > > On Thu, Mar 27, 2014 at 12:29:03PM -0400, Jim Popovitch wrote: > > > >> Should proxy_pass retry ipv4 if ipv6 fails? Currently (1.5.12), it > >> does

Re: proxy_pass behavior

2014-03-27 Thread Jim Popovitch
On Thu, Mar 27, 2014 at 1:27 PM, Maxim Dounin wrote: > Hello! > > On Thu, Mar 27, 2014 at 01:12:18PM -0400, Jim Popovitch wrote: > >> On Thu, Mar 27, 2014 at 12:59 PM, Maxim Dounin wrote: >> > Hello! >> > >> > On Thu, Mar 27, 2014 at 12:29:03PM -0400, Jim Popovitch wrote: >> > >> >> Should proxy_

Re: [PATCH] Added so_freebind and so_transparent to the listen directive

2014-03-27 Thread Trygve Vea
- Opprinnelig melding - > Hello! Hello! > On Thu, Mar 27, 2014 at 04:34:37PM +0100, Trygve Vea wrote: > > # HG changeset patch > > # User Trygve Vea > > # Date 1395933815 -3600 > > # Thu Mar 27 16:23:35 2014 +0100 > > # Node ID 13e6a37c2f57443b0d5dd0abce8d9d4ab00e31e3 > > # Parent

Re: [PATCH] Added so_freebind and so_transparent to the listen directive

2014-03-27 Thread Piotr Sikora
Hi Trygve, > Added so_freebind and so_transparent to the listen directive > > This solves a Linux/IPv6-specific problem. > > To be able to listen to an IPv6 address that is not yet available on the host, > one need to use the IP_FREEBIND and IP_TRANSPARENT socket options. > > The use case in quest

Re: [PATCH] Added so_freebind and so_transparent to the listen directive

2014-03-27 Thread Trygve Vea
- Opprinnelig melding - > Hi Trygve, > > > Added so_freebind and so_transparent to the listen directive > > > > This solves a Linux/IPv6-specific problem. > > > > To be able to listen to an IPv6 address that is not yet available on the > > host, > > one need to use the IP_FREEBIND and IP_T

Re: proxy_pass behavior

2014-03-27 Thread Jim Popovitch
On Thu, Mar 27, 2014 at 1:50 PM, Jim Popovitch wrote: > On Thu, Mar 27, 2014 at 1:27 PM, Maxim Dounin wrote: >> Hello! >> >> On Thu, Mar 27, 2014 at 01:12:18PM -0400, Jim Popovitch wrote: >> >>> On Thu, Mar 27, 2014 at 12:59 PM, Maxim Dounin wrote: >>> > Hello! >>> > >>> > On Thu, Mar 27, 2014 a