details: http://hg.nginx.org/nginx/rev/341e4303d25b branches: changeset: 6214:341e4303d25b user: Ruslan Ermilov <ru@nginx.com> date: Thu Jul 16 14:20:48 2015 +0300 description: Fixed strict aliasing warnings with old GCC versions. diffstat: src/http/modules/ngx_http_upstream_zone_module.c | 2 +- src/stream/ngx_stream_upstream_zone_module.c | 2 +- 2 files changed, 2 iby Ruslan Ermilov - Nginx Development
Hello, On Emiller's guide to Nginx [1] it's stated that the shared memory constructor would receive a previously allocated data pointer as a second parameter upon a restart, so the constructor could reuse this area and avoid losing the data. I've searched the forum archives using [2] and found the thread [3], that stated this behavior too. I've written a module that creates a shared memory areaby Acácio Centeno - Nginx Development
details: http://hg.nginx.org/nginx/rev/311d232ad803 branches: changeset: 6198:311d232ad803 user: Ruslan Ermilov <ru@nginx.com> date: Tue Jun 16 00:43:00 2015 +0300 description: Upstream: fixed shared upstreams on win32. diffstat: src/http/modules/ngx_http_upstream_zone_module.c | 43 +++++++++++++++++------ src/http/ngx_http_upstream_round_robin.h | 1 + src/streaby Ruslan Ermilov - Nginx Development
Hi. I have a feature request: from system administrator point of view it would be nice to have counters for each type of error log message. For example right now nginx error.log consists of myriad of different error message formats: open() “%s” failed directory index of “%s” is forbidden SSL_write() failed SSL_do_handshake() zero size but in output chain client intended to send tooby Alexey Ivanov - Nginx Development
Hi, I've forgotten to free the shmem, thus enclosed an amendment with clean-up, relative last changeset. Regards, sebres. 10.06.2015 21:48, Sergey Brester: > Hi, > > enclosed you will find an attached changeset, that contains fix for windows issue with multiple workers (once listening - only one made any work). > > If someone needs a git version of it: > > https:by Sergey Brester - Nginx Development
Hi, enclosed you will find an attached changeset, that contains fix for windows issue with multiple workers (once listening - only one made any work). If someone needs a git version of it: https://github.com/sebres/nginx/pull/1/files [1] Here [2] you may find a benchmark comparison for that (1 worker column - measured before fix). -- Shortly about fix algorithm (changes related are marby Sergey Brester - Nginx Development
Hi, Back to my wish to fix a problem with multiple workers under windows... Since we successful implemented shared memory on windows, it may be used for proper sharing a socket descriptor for multiple workers. Possible scenario can be found in this MSDN-article: https://msdn.microsoft.com/en-en/library/windows/desktop/ms741565%28v=vs.85%29.aspx I need some help, to make the changes moreby Sergey Brester - Nginx Development
details: http://hg.nginx.org/nginx/rev/53d850fe292f branches: changeset: 6135:53d850fe292f user: Maxim Dounin <mdounin@mdounin.ru> date: Tue Apr 28 18:31:17 2015 +0300 description: nginx-1.9.0-RELEASE diffstat: docs/xml/nginx/changes.xml | 78 ++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 78 insertions(+), 0 deletions(-) diffs (88 lines): diff --git a/doby Maxim Dounin - Nginx Development
details: http://hg.nginx.org/nginx/rev/af7eba90645d branches: changeset: 6133:af7eba90645d user: Maxim Dounin <mdounin@mdounin.ru> date: Mon Apr 27 18:25:42 2015 +0300 description: Win32: shared memory base addresses and remapping. Two mechanisms are implemented to make it possible to store pointers in shared memory on Windows, in particular on Windows Vista and later versionsby Maxim Dounin - Nginx Development
Hello, > There are lots of style problems which need cleanup. The newer, "nginx-style" compliant version of changeset (shmem fix2.patch) was already posted to nginx-devel (Thx, Filipe DA SILVA). You will find it also on under https://github.com/sebres/nginx/commit/e7c149f1ad76b9d850fb59ecc479d4a658c13e04 [4]. > Such things belong to ngx_win32_init.c. It may be also good >by Sergey Brester - Nginx Development
Hello! On Wed, Apr 22, 2015 at 09:45:45AM +0200, Sergey Brester wrote: > enclosed you will find an attached changeset, that fixes a ASLR/DEP > problem on windows platforms (example Win 7/2008 x64). > > To find shared addr offset with ASLR, we have successful used the same > resp. similar solution on various open source projects (ex.: postgresql > etc.). Also nginx with suggesby Maxim Dounin - Nginx Development
details: http://hg.nginx.org/nginx/rev/caa103acf180 branches: changeset: 6123:caa103acf180 user: Ruslan Ermilov <ru@nginx.com> date: Wed Apr 22 18:37:34 2015 +0300 description: Upstream: allow multiple upstreams to use the same shared zone. diffstat: src/http/modules/ngx_http_upstream_zone_module.c | 98 +++++++++++++---------- src/stream/ngx_stream_upstream_zone_module.cby Ruslan Ermilov - Nginx Development
Thx, and sorry for your effort. I speak "git" (stumble over "hg" sometimes:) Your patch was a little bit broken: * dual ``` return NGX_OK; ``` in line 135 after debug; * line 157: ``` if (UnmapViewOfFile(shm->addr) == 0) { ``` should be removed. New changeset attached. BTW: pure C comments are imho rudiments, because these prevent a (temporary) commenting of largerby Sergey Brester - Nginx Development
Hi, A few style remarks about your patch : - LF Line ending only - Only C style comments, so no // … - Indentation is 4 spaces. - Add this setting to your .hgrc /mercurial.ini showfunc = True - Do not remove existing blank lines . Additional information here : http://nginx.org/en/docs/contributing_changes.html Regards, Filipe --- De : nginx-devel-bounces@nginx.by Filipe DA SILVA - Nginx Development
Hi, enclosed you will find an attached changeset, that fixes a ASLR/DEP problem on windows platforms (example Win 7/2008 x64). To find shared addr offset with ASLR, we have successful used the same resp. similar solution on various open source projects (ex.: postgresql etc.). Also nginx with suggested patch works fine over 5 months in production on several machines (Win-2k8-R2). BTW(1): I haby Sergey Brester - Nginx Development
details: http://hg.nginx.org/nginx/rev/48b3d5ddfb03 branches: changeset: 6116:48b3d5ddfb03 user: Sergey Kandaurov <pluknet@nginx.com> date: Mon Apr 20 16:53:04 2015 +0300 description: Core: allow shared memory size to be declared after a reference. For example, this fixes the case when "proxy_cache_path" is specified after "proxy_cache" that references it.by Sergey Kandaurov - Nginx Development
details: http://hg.nginx.org/nginx/rev/79ddb0bdb273 branches: changeset: 6103:79ddb0bdb273 user: Ruslan Ermilov <ru@nginx.com> date: Tue Apr 14 19:01:25 2015 +0300 description: Upstream: the "zone" directive. Upstreams with the "zone" directive are kept in shared memory, with a consistent view of all worker processes. diffstat: auto/modulesby Ruslan Ermilov - Nginx Development
details: http://hg.nginx.org/nginx/rev/ac7c7241ed8c branches: changeset: 6032:ac7c7241ed8c user: Ruslan Ermilov <ru@nginx.com> date: Fri Mar 20 06:45:32 2015 +0300 description: Removed busy locks. diffstat: auto/sources | 8 +- src/event/ngx_event.h | 9 - src/event/ngx_event_busy_lock.c | 286 ------------------------------------- src/eveby Ruslan Ermilov - Nginx Development
Hi. I can't find out why Nginx calling ngx_http_free_request function after ngx_add_timer , if I'm not calling ngx_http_finalize_request or something relevant ? Should I do something to keep request in memory ? Thanks. 2015-02-22 1:28 GMT+04:00 Tigran Bayburtsyan <tigran.bayburtsyan@gmail.com>: > Ok I sow that code during debugging Nginx request , but why my request is > freeing ifby tigran.bayburtsyan - Nginx Development
Ok I sow that code during debugging Nginx request , but why my request is freeing if I'm not calling ngx_http_finalize_request ? What should I do to keep my request alive ? Thanks. 2015-02-22 1:23 GMT+04:00 tommy watson <tommywatson+nginx-devel@gmail.com>: > My money is on your request has been cleaned up in ngx_http_free_request(): > > > https://github.com/nginx/nginx/blob/maby tigran.bayburtsyan - Nginx Development
My money is on your request has been cleaned up in ngx_http_free_request(): https://github.com/nginx/nginx/blob/master/src/http/ngx_http_request.c#L3493 On Sat, Feb 21, 2015 at 3:19 PM, Tigran Bayburtsyan < tigran.bayburtsyan@gmail.com> wrote: > No this time I'm trying to do it with separate process by just sharing > memory between Nginx worker and my 3rd party excusable... > I'mby tommy watson - Nginx Development
No this time I'm trying to do it with separate process by just sharing memory between Nginx worker and my 3rd party excusable... I'm making ngx_timer to send data when it will be received from shared memory. It works fine, but I can't figure out why my r->pool is null ? I'm using Nginx 1.7 version. Thanks for your help. 2015-02-22 1:02 GMT+04:00 tommy watson <tommywatson+nginx-devel@gmailby tigran.bayburtsyan - Nginx Development
Hi. I'm writing simple module for Nginx just to fork process on request and execute some separate process and then exit. *if(fork() == 0)* *{* * // Use r request pointer* *.* *.* *.* * // creating out_chain (could be more than 700kb)* * ngx_http_output_filter ( r , out_chain );* * ngx_http_finalize_request(r, NGX_OK);* *}* *else* *{* * close(r->connection->fd); * *by tigran.bayburtsyan - Nginx Development
# HG changeset patch # User Gunnlaugur Thor Briem <gunnlaugur@gmail.com> # Date 1413305660 0 # Tue Oct 14 16:54:20 2014 +0000 # Node ID 3674e10a9e22a622998b65badfe01da34579bb65 # Parent 2096ecf6de02bc9e8ae920c45c59bf6a4e2e38fb Clarify meaning of limit_conn in SPDY connections Be clear about limit_conn applying to concurrent requests, not connections. The distinction matters for SPDY cby gthb - Nginx Development
details: http://hg.nginx.org/nginx/rev/fe129aa02db9 branches: changeset: 5836:fe129aa02db9 user: Maxim Dounin <mdounin@mdounin.ru> date: Tue Sep 16 16:19:03 2014 +0400 description: nginx-1.7.5-RELEASE diffstat: docs/xml/nginx/changes.xml | 145 +++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 145 insertions(+), 0 deletions(-) diffs (155 lines): diff --git a/by Maxim Dounin - Nginx Development
Hi everyone, Firstly I want to thank SplitIce for their feedback on my work. I've taken it all on board. Last night, I updated the git repo for this module to use a red-black tree instead of a statically sized array. I still need to: a) implement the shared memory feature so that workers > 1 will work. b) fix the log statements which don't appear to log anywhere. Can someone guide me on hby Phillip Taylor (nginx) - Nginx Development
# HG changeset patch # User Samuel Martin <s.martin49@gmail.com> # Date 1406932254 -7200 # Sat Aug 02 00:30:54 2014 +0200 # Node ID a0389d32d970bc5740013805bc50d2f1de52aef6 # Parent 0abfd4903c4b440a18ed2de0d8c68e5b163e94f0 auto/*: set ngx_feature_run_force_result for each feature requiring run test Each feature requiring a run test has a matching preset variable (called ngx_force_*) usby Samuel Martin - Nginx Development
Sent by Bird Mail_______________________________________________ nginx-devel mailing list nginx-devel@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx-develby idina - Nginx Development
details: http://hg.nginx.org/nginx/rev/0bd223a54619 branches: changeset: 5723:0bd223a54619 user: Maxim Dounin <mdounin@mdounin.ru> date: Tue Jun 17 16:51:25 2014 +0400 description: nginx-1.7.2-RELEASE diffstat: docs/xml/nginx/changes.xml | 69 ++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 69 insertions(+), 0 deletions(-) diffs (79 lines): diff --git a/doby Maxim Dounin - Nginx Development
Thanks agentzh, Maxim and Igor On Tue, Jun 3, 2014 at 11:00 AM, Maxim Dounin <mdounin@mdounin.ru> wrote: > Hello! > > On Mon, Jun 02, 2014 at 08:42:50PM +0400, Maxim Dounin wrote: > > > Hello! > > > > On Sat, May 31, 2014 at 11:46:28PM -0300, Wandenberg Peixoto wrote: > > > > > Hello Maxim, > > > > > > I executed my tests agaiby wandenberg - Nginx Development