Re: [nginx] SSL: support ALPN (IETF's successor to NPN).

2014-01-31 Thread Ruslan Ermilov
On Thu, Jan 30, 2014 at 12:15:49PM -0800, Piotr Sikora wrote: Hey Ruslan, This change breaks compilation with clang on systems where OpenSSL doesn't have ALPN support: Good catch! Sorry for introducing this (even though it's clearly a false positive)... I usually compile my ALPN

[nginx] Fixed false compiler warning.

2014-01-31 Thread Homutov Vladimir
details: http://hg.nginx.org/nginx/rev/4d47722d76b2 branches: changeset: 5548:4d47722d76b2 user: Vladimir Homutov v...@nginx.com date: Fri Jan 31 14:18:52 2014 +0400 description: Fixed false compiler warning. Newer gcc versions (4.7+) report possible use of uninitialized variable if

Re: $request_time is 0.000 with gzip/chunked?

2014-01-31 Thread Maxim Dounin
Hello! On Fri, Jan 31, 2014 at 05:04:25PM +1300, Robert Coup wrote: Hi Maxim, On Fri, Jan 31, 2014 at 3:40 PM, Maxim Dounin mdou...@mdounin.ru wrote: A zero request time indicate that nginx never exhausted socket's output buffer while sending a response to a client, and hence was

[nginx] SPDY: protocol implementation switched to spdy/3.1.

2014-01-31 Thread Valentin Bartenev
details: http://hg.nginx.org/nginx/rev/39d7eef2e332 branches: changeset: 5549:39d7eef2e332 user: Valentin Bartenev vb...@nginx.com date: Fri Jan 31 19:17:26 2014 +0400 description: SPDY: protocol implementation switched to spdy/3.1. diffstat: src/http/ngx_http_spdy.c

[nginx] Core: handle getsockopt(TCP_FASTOPEN) failures.

2014-01-31 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/3c5ddf0575d8 branches: changeset: 5550:3c5ddf0575d8 user: Piotr Sikora pi...@cloudflare.com date: Thu Jan 30 14:58:21 2014 -0800 description: Core: handle getsockopt(TCP_FASTOPEN) failures. Linux returns EOPNOTSUPP for non-TCP sockets and

Re: [PATCH] Core: handle getsockopt(TCP_FASTOPEN) failures.

2014-01-31 Thread Maxim Dounin
Hello! On Thu, Jan 30, 2014 at 03:06:12PM -0800, Piotr Sikora wrote: # HG changeset patch # User Piotr Sikora pi...@cloudflare.com # Date 1391122701 28800 # Thu Jan 30 14:58:21 2014 -0800 # Node ID a2abc0e037c87626b30341014d8a35c36adf8f8f # Parent

Re: $request_time is 0.000 with gzip/chunked?

2014-01-31 Thread Robert Coup
Hi Maxim, On Saturday, 1 February 2014, Maxim Dounin mdou...@mdounin.ru wrote: If you just care about precision of a time measured, on Linux you may try using timer_resolution with some reasonable value like 10ms. On Linux time is updated using signals in this case, and time logged will be