nginx development guide

2017-02-13 Thread Vladimir Homutov
Hello all! We are glad to share with first results of our ongoing efforts to create documentation for nginx developers: the development guide document [1]. The guide is not yet 100% complete and more parts to follow. Of course, your feedback is welcome. [1] http://nginx.org/en/docs/dev/developm

Re: nginx development guide

2017-02-13 Thread Hung Nguyen
Many thanks on taking steps for this guide. I’ve been waiting for it for so long. Good job! On 2/13/17, 4:38 PM, "nginx-devel on behalf of Vladimir Homutov" wrote: >Hello all! > >We are glad to share with first results of our ongoing efforts to create >documentation for nginx developers

Re: nginx development guide

2017-02-13 Thread Andrey Kulikov
Hooray! What the doctor ordered. Looking forward for more parts, especially dedicated to chains management and corresponding API description. So far saw a possible typo: In section "I/O events": > that the functions ngx_handle_read_event(rev, flags) and > ngx_handle_read_event(wev,flags) are cal

Re: nginx development guide

2017-02-13 Thread Roman Arutyunyan
On Mon, Feb 13, 2017 at 07:24:05PM +0300, Andrey Kulikov wrote: > Hooray! > > What the doctor ordered. > Looking forward for more parts, especially dedicated to chains > management and corresponding API description. We already have that published in the Pool and Buffer sections. http://nginx.org

Re: nginx development guide

2017-02-13 Thread Vladimir Homutov
On Mon, Feb 13, 2017 at 07:24:05PM +0300, Andrey Kulikov wrote: > Hooray! > > What the doctor ordered. > Looking forward for more parts, especially dedicated to chains > management and corresponding API description. > > So far saw a possible typo: > In section "I/O events": > > that the functions n

[PATCH] Tests: respecting Cache-Control stale-while-revalidate directive

2017-02-13 Thread Chris Branch via nginx-devel
# HG changeset patch # User Chris Branch # Date 1487004211 0 # Mon Feb 13 16:43:31 2017 + # Node ID cc76d621a5f95e9297cf38fd3e721f4a392c9bd2 # Parent bef8be8a622429f4ce07753f9133b15e5f08cac1 Tests: respecting Cache-Control stale-while-revalidate directive. diff -r bef8be8a6224 -r cc76d6

Re: [nginx] Cache: support for stale-while-revalidate and stale-if-error.

2017-02-13 Thread Chris Branch via nginx-devel
I noticed there was no test suite for this new feature. I’m not expecting my patch to be approved as time-based tests slow down test suites - but I think it warrants some testing. I have a conflicting requirement that isn’t easily supported by nginx currently; I want to enable ‘proxy_cache_use_

[nginx] Gzip: free chain links on the hot path (ticket #1046).

2017-02-13 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/da46bfc484ef branches: changeset: 6910:da46bfc484ef user: Maxim Dounin date: Mon Feb 13 21:45:01 2017 +0300 description: Gzip: free chain links on the hot path (ticket #1046). diffstat: src/http/modules/ngx_http_gzip_filter_module.c | 22 +++

[nginx] limit_rate_after

2017-02-13 Thread 洪志道
Hi! Dose nginx consider support setting variable about limit_rate_after? We can limit rate after $n bytes received from upstream. --- a/src/http/ngx_http_variables.c Mon Feb 13 21:45:01 2017 +0300 +++ b/src/http/ngx_http_variables.c Tue Feb 07 05:15:51 2017 +0800 @@ -321,6 +321,11 @@ offse