details: http://hg.nginx.org/nginx/rev/ea12328518dc branches: changeset: 6824:ea12328518dc user: Ruslan Ermilov <ru@nginx.com> date: Wed Dec 07 22:25:37 2016 +0300 description: Slab: added comment about list heads. diffstat: src/core/ngx_slab.c | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) diffs (23 lines): diff -r 88c8c3d65184 -r ea12328518dc src/core/ngx_sby ru@nginx.com - Nginx Development
details: http://hg.nginx.org/nginx/rev/88c8c3d65184 branches: changeset: 6823:88c8c3d65184 user: Ruslan Ermilov <ru@nginx.com> date: Wed Dec 07 22:25:37 2016 +0300 description: Slab: improved code readability. No functional changes. diffstat: src/core/ngx_slab.c | 103 ++++++++++++++++++++++++--------------------------- 1 files changed, 49 insertions(+), 54 deletions(-) dby ru@nginx.com - Nginx Development
On Tue, Dec 06, 2016 at 07:42:36PM +0000, Eran Kornblau wrote: > > > > -----Original Message----- > > From: nginx-devel On Behalf Of Ruslan Ermilov > > Sent: Tuesday, December 6, 2016 9:13 PM > > To: nginx-devel@nginx.org > > Subject: Re: Add support for 'nocache' flag to map directive > > > > There was a similar patch circulating locally circa 20by ru@nginx.com - Nginx Development
On Sat, Dec 03, 2016 at 09:06:16PM +0000, Eran Kornblau wrote: > As I got no objections... :) patch attached There was a similar patch circulating locally circa 2013. I've updated it today. Please give it a try. # HG changeset patch # User Ruslan Ermilov <ru@nginx.com> # Date 1481040301 -10800 # Tue Dec 06 19:05:01 2016 +0300 # Node ID a68b9457f36bc0f4bfdf44722e966e790c7fd7f0 # Paby ru@nginx.com - Nginx Development
details: http://hg.nginx.org/nginx/rev/87d7e640b45d branches: changeset: 6809:87d7e640b45d user: Ruslan Ermilov <ru@nginx.com> date: Sat Dec 03 10:01:39 2016 +0300 description: Slab: improved double free detection. Previously, an attempt to double free the starting page of the free range was not detected. diffstat: src/core/ngx_slab.c | 2 +- 1 files changed, 1 insertions(by ru@nginx.com - Nginx Development
details: http://hg.nginx.org/nginx/rev/2af776c22aec branches: changeset: 6808:2af776c22aec user: Ruslan Ermilov <ru@nginx.com> date: Sat Dec 03 10:01:03 2016 +0300 description: Slab: always show the requested allocation size in debug messages. Previously, allocations smaller than min_size were shown as min_size. diffstat: src/core/ngx_slab.c | 1 - 1 files changed, 0 inserby ru@nginx.com - Nginx Development
details: http://hg.nginx.org/nginx/rev/ea76a3aa18ae branches: changeset: 6807:ea76a3aa18ae user: Ruslan Ermilov <ru@nginx.com> date: Sat Dec 03 09:55:40 2016 +0300 description: Slab: style. Removed redundant parentheses. No functional changes. diffstat: src/core/ngx_slab.c | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diffs (30 lines): diff -r 75dbab4ea93by ru@nginx.com - Nginx Development
On Tue, Nov 15, 2016 at 01:07:29PM -0500, shiz wrote: > Hi, > > I build it every time a new version is available. > > This one didn't make it. > > System is Debian 8 jessie > > (...) > > /usr/local/src/nginx/nginx-1.11.6/debian/modules/nginx-upstream-fair/ngx_http_upstream_fair_module.c: > In function ‘ngx_http_upstream_init_fair_rr’: > /usr/local/srby ru@nginx.com - Nginx Mailing List - English
details: http://hg.nginx.org/nginx/rev/92ad1c92bcf9 branches: changeset: 6796:92ad1c92bcf9 user: Ruslan Ermilov <ru@nginx.com> date: Fri Nov 04 19:12:19 2016 +0300 description: Style: switch. diffstat: src/http/ngx_http_core_module.c | 2 -- src/http/ngx_http_special_response.c | 1 - 2 files changed, 0 insertions(+), 3 deletions(-) diffs (23 lines): diff -r 1a91793by ru@nginx.com - Nginx Development
details: http://hg.nginx.org/nginx/rev/3fa5983b6b44 branches: changeset: 6788:3fa5983b6b44 user: Ruslan Ermilov <ru@nginx.com> date: Mon Oct 17 14:27:45 2016 +0300 description: Upstream: don't consider default_port when matching upstreams. The only thing that default_port comparison did in the current code is prevented implicit upstreams to the same address/port from being aliby ru@nginx.com - Nginx Development
details: http://hg.nginx.org/nginx/rev/727c6412673a branches: changeset: 6790:727c6412673a user: Ruslan Ermilov <ru@nginx.com> date: Mon Oct 31 23:38:51 2016 +0300 description: HTTP/2: slightly improved debugging. diffstat: src/http/v2/ngx_http_v2.c | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diffs (24 lines): diff -r 4dea01cf49e8 -r 727c6412673a src/httby ru@nginx.com - Nginx Development
details: http://hg.nginx.org/nginx/rev/640e1e778de6 branches: changeset: 6787:640e1e778de6 user: Ruslan Ermilov <ru@nginx.com> date: Mon Oct 17 14:14:02 2016 +0300 description: Upstream: consistently initialize explicit upstreams. When an upstream{} block follows a proxy_pass reference to it, such an upstream inherited port and default_port settings from proxy_pass. This wasby ru@nginx.com - Nginx Development
details: http://hg.nginx.org/nginx/rev/4dea01cf49e8 branches: changeset: 6789:4dea01cf49e8 user: Ruslan Ermilov <ru@nginx.com> date: Mon Oct 17 14:30:54 2016 +0300 description: Upstream: removed ngx_http_upstream_srv_conf_t.default_port. This is an API change. diffstat: src/http/ngx_http_upstream.c | 2 -- src/http/ngx_http_upstream.h | 1 - 2 files changed, 0 insertions(by ru@nginx.com - Nginx Development
details: http://hg.nginx.org/nginx/rev/906ac20234ed branches: changeset: 6786:906ac20234ed user: Ruslan Ermilov <ru@nginx.com> date: Mon Oct 31 18:33:36 2016 +0300 description: Upstream: do not unnecessarily create per-request upstreams. If proxy_pass (and friends) with variables evaluates an upstream specified with literal address, nginx always created a per-request upstream.by ru@nginx.com - Nginx Development
details: http://hg.nginx.org/nginx/rev/d1d0dd69a419 branches: changeset: 6785:d1d0dd69a419 user: Ruslan Ermilov <ru@nginx.com> date: Mon Oct 31 18:33:33 2016 +0300 description: Upstream: added the ngx_http_upstream_resolved_t.name field. This fixes inconsistency in what is stored in the "host" field. Normally it would contain the "host" part of the parsed Uby ru@nginx.com - Nginx Development
details: http://hg.nginx.org/nginx/rev/1af120241cde branches: changeset: 6784:1af120241cde user: Ruslan Ermilov <ru@nginx.com> date: Mon Oct 31 18:33:31 2016 +0300 description: Upstream: removed unnecessary condition in proxy_eval() and friends. The first condition added in d3454e719bbb should have just replaced the second one. diffstat: src/http/modules/ngx_http_fastcgi_moby ru@nginx.com - Nginx Development
details: http://hg.nginx.org/nginx/rev/3fbb3bdff824 branches: changeset: 6742:3fbb3bdff824 user: Ruslan Ermilov <ru@nginx.com> date: Thu Oct 13 15:50:36 2016 +0300 description: Cache: cache manager debugging. diffstat: src/http/ngx_http_file_cache.c | 38 ++++++++++++++++++++++++++------------ 1 files changed, 26 insertions(+), 12 deletions(-) diffs (79 lines): diff -r 79by ru@nginx.com - Nginx Development
details: http://hg.nginx.org/nginx/rev/79ac653ae2d0 branches: changeset: 6741:79ac653ae2d0 user: Ruslan Ermilov <ru@nginx.com> date: Thu Oct 13 15:35:48 2016 +0300 description: Version bump. diffstat: src/core/nginx.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (14 lines): diff -r 7cdf69d012f0 -r 79ac653ae2d0 src/core/nginx.h --- a/src/core/nginx.h Tuby ru@nginx.com - Nginx Development
On Fri, Oct 07, 2016 at 10:52:16AM -0700, Naveen Shukla wrote: > Where do nginx checks about invalid character in header name and value ? grep -r 'invalid_header = 1' src/http _______________________________________________ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-develby ru@nginx.com - Nginx Development
On Wed, Oct 05, 2016 at 11:07:04AM +0000, Cox, Eric S wrote: > Is anyone aware of a way to pass the upstream server name as the host header > per individual server instead of setting it at the location level for all the > upstream members? Without using a lua script that is. This is currently impossible. _______________________________________________ nginx mailing list nginx@nginx.orgby ru@nginx.com - Nginx Mailing List - English
details: http://hg.nginx.org/nginx/rev/631753428ecb branches: changeset: 6726:631753428ecb user: Ruslan Ermilov <ru@nginx.com> date: Wed Oct 05 13:57:43 2016 +0300 description: Core: use c->log while closing connection. c->pool is not destroyed here since c52408583801. diffstat: src/core/ngx_connection.c | 5 +---- 1 files changed, 1 insertions(+), 4 deletions(-) diby ru@nginx.com - Nginx Development
On Mon, Oct 03, 2016 at 11:36:19PM +1100, Lawrence Stewart wrote: > Hi Ruslan, > > On Mon, Oct 3, 2016 at 6:45 PM, Ruslan Ermilov <ru@nginx.com> wrote: > > > On Mon, Oct 03, 2016 at 03:37:38PM +1100, Lawrence Stewart wrote: > > > Hi all, > > > > > > I need to pull kernel data using getsockopt() for a connection prior to > > the > > &by ru@nginx.com - Nginx Development
details: http://hg.nginx.org/nginx/rev/48bab8b83f4e branches: changeset: 6721:48bab8b83f4e user: Ruslan Ermilov <ru@nginx.com> date: Mon Oct 03 15:58:30 2016 +0300 description: Modules compatibility: removed two NGX_HAVE_DEFERRED_ACCEPT checks. Removed (NGX_HAVE_DEFERRED_ACCEPT && defined TCP_DEFER_ACCEPT) from the signature accordingly. diffstat: src/core/ngx_conneby ru@nginx.com - Nginx Development
details: http://hg.nginx.org/nginx/rev/9170240f1241 branches: changeset: 6720:9170240f1241 user: Maxim Dounin <mdounin@mdounin.ru> date: Mon Oct 03 15:58:29 2016 +0300 description: Modules compatibility: removed unneeded NGX_HAVE_REUSEPORT checks. Removed NGX_HAVE_REUSEPORT from the signature accordingly. diffstat: src/core/ngx_connection.h | 2 -- src/core/ngx_modulby ru@nginx.com - Nginx Development
details: http://hg.nginx.org/nginx/rev/cebf5fed00bf branches: changeset: 6719:cebf5fed00bf user: Maxim Dounin <mdounin@mdounin.ru> date: Mon Oct 03 15:58:25 2016 +0300 description: Modules compatibility: removed unneeded IPV6_V6ONLY checks. The IPV6_V6ONLY macro is now checked only while parsing appropriate flag and when using the macro. The ipv6only field in listen structureby ru@nginx.com - Nginx Development
details: http://hg.nginx.org/nginx/rev/bdf64ae3376b branches: changeset: 6718:bdf64ae3376b user: Maxim Dounin <mdounin@mdounin.ru> date: Mon Oct 03 15:58:22 2016 +0300 description: Modules compatibility: http2. HTTP/2-specific fields in structures are now available unconditionally. Removed NGX_HTTP_V2 from the signature accordingly. diffstat: src/core/ngx_module.hby ru@nginx.com - Nginx Development
details: http://hg.nginx.org/nginx/rev/3b522d7a5b34 branches: changeset: 6717:3b522d7a5b34 user: Maxim Dounin <mdounin@mdounin.ru> date: Mon Oct 03 15:58:19 2016 +0300 description: Modules compatibility: degradation fields now always present. There is no need to save these two bits as they are wasted anyway. Removed NGX_HTTP_DEGRADATION from the signature accordingly. diffstaby ru@nginx.com - Nginx Development
details: http://hg.nginx.org/nginx/rev/57c8e12c460c branches: changeset: 6716:57c8e12c460c user: Maxim Dounin <mdounin@mdounin.ru> date: Mon Oct 03 15:58:16 2016 +0300 description: Modules compatibility: --with-compat configure option. diffstat: auto/modules | 12 ++++++++++++ auto/options | 6 ++++++ 2 files changed, 18 insertions(+), 0 deletions(-) diffs (52 lines): dby ru@nginx.com - Nginx Development
details: http://hg.nginx.org/nginx/rev/d200a0fd00b7 branches: changeset: 6715:d200a0fd00b7 user: Ruslan Ermilov <ru@nginx.com> date: Thu Sep 29 15:28:24 2016 +0300 description: Introduced the NGX_COMPAT macro. When enabled, some structures are padded to be size compatible with their NGINX Plus versions. diffstat: src/core/ngx_config.h | 13 ++++++++++by ru@nginx.com - Nginx Development
On Mon, Oct 03, 2016 at 03:37:38PM +1100, Lawrence Stewart wrote: > Hi all, > > I need to pull kernel data using getsockopt() for a connection prior to the > socket being closed. A pool cleanup handler registered with the > ngx_connection_t's pool would seem to be the right way to do this, but > ngx_http_close_connection() calls ngx_close_connection() prior to > ngx_destroy_pby ru@nginx.com - Nginx Development