Re: Sharing data when download the same object from upstream

2013-08-27 Thread Anatoli Marinov
I had the same problem and I wrote a patch to reuse the file with I already have in tmp directory for the second stream (and for all streams before the file is completely cached). Unfortunately I cannot share it but can give you an idea how to do it. On Tue, Aug 27, 2013 at 8:43 PM, Alex Garzão

Re: [PATCH] Image filter: large image handling

2013-08-27 Thread lanshun zhou
It's ok for me, thanks~ 在 2013-8-28 上午6:43,"Maxim Dounin" 写道: > Hello! > > On Wed, Aug 28, 2013 at 12:21:27AM +0800, lanshun zhou wrote: > > > # HG changeset patch > > # User Lanshun Zhou > > # Date 1377620347 -28800 > > # Node ID 4fae04f332b489c85cdc116e6138a618372d3691 > > # Parent d1403de4163

Re: [PATCH] Proxy remote server SSL certificate verification

2013-08-27 Thread Maxim Dounin
Hello! On Tue, Aug 27, 2013 at 11:47:38AM +0300, Aviram Cohen wrote: > Added a new version, with all the required fixes. This looks better, modulo various style problems. It also looks like verification code isn't complete. See below for comments. > > diff -Nrpu nginx-1.4.1/src/http/modules

Re: [PATCH] Image filter: large image handling

2013-08-27 Thread Maxim Dounin
Hello! On Wed, Aug 28, 2013 at 12:21:27AM +0800, lanshun zhou wrote: > # HG changeset patch > # User Lanshun Zhou > # Date 1377620347 -28800 > # Node ID 4fae04f332b489c85cdc116e6138a618372d3691 > # Parent d1403de4163100ec0c6c015e57f22384456870e3 > Image filter: large image handling. > > If Con

[nginx] Typo fixed.

2013-08-27 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/011d72dea802 branches: changeset: 5347:011d72dea802 user: Maxim Dounin date: Wed Aug 28 02:34:30 2013 +0400 description: Typo fixed. diffstat: src/event/ngx_event_pipe.c | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (14 l

[nginx] Version bump.

2013-08-27 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/293290081b12 branches: changeset: 5346:293290081b12 user: Maxim Dounin date: Wed Aug 28 02:34:21 2013 +0400 description: Version bump. diffstat: src/core/nginx.h | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diffs (14 lines):

Re: Sharing data when download the same object from upstream

2013-08-27 Thread Alex Garzão
Hello Wandenberg, Thanks for your reply. Using proxy_cache_lock, when the second request arrive, it will wait until the object is complete in the cache (or until proxy_cache_lock_timeout expires). But, in many cases, my upstream has a really slow link and NGINX needs more than 30 minutes to downl

[PATCH] Image filter: large image handling

2013-08-27 Thread lanshun zhou
# HG changeset patch # User Lanshun Zhou # Date 1377620347 -28800 # Node ID 4fae04f332b489c85cdc116e6138a618372d3691 # Parent d1403de4163100ec0c6c015e57f22384456870e3 Image filter: large image handling. If Content-Length header is not set, and the image size is larger than the buffer size, clien

Re: The meaning of ngx_http_request_t.out ?

2013-08-27 Thread Maxim Dounin
Hello! On Tue, Aug 27, 2013 at 11:21:38AM +0800, 邓尧 wrote: > Hi, > I'm writing an nginx module, it does something similar to the sub module. > After some research I succeeded in handling the ngx_chain_t pointer passed > to my body filter. My module seems to work well for static files. > When my m

[nginx] release-1.5.4 tag

2013-08-27 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/d1403de41631 branches: changeset: 5345:d1403de41631 user: Maxim Dounin date: Tue Aug 27 17:37:15 2013 +0400 description: release-1.5.4 tag diffstat: .hgtags | 1 + 1 files changed, 1 insertions(+), 0 deletions(-) diffs (8 lines): diff --gi

[nginx] nginx-1.5.4-RELEASE

2013-08-27 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/376a5e769400 branches: changeset: 5344:376a5e769400 user: Maxim Dounin date: Tue Aug 27 17:37:15 2013 +0400 description: nginx-1.5.4-RELEASE diffstat: docs/xml/nginx/changes.xml | 102 + 1 files ch

Installation script from nginx Linux repositories

2013-08-27 Thread Lior Kaplan
Hi, Continuing my tweet question [1], Zend would like to contribute this simple script to help automate the installation from nginx.org Linux repositories [2]. We've built the script as part of our ZendServer on Ngnix installation script. Let let me know if you have any specifc license requireme

Re: [PATCH] Proxy remote server SSL certificate verification

2013-08-27 Thread Aviram Cohen
Added a new version, with all the required fixes. diff -Nrpu nginx-1.4.1/src/http/modules/ngx_http_proxy_module.c nginx-1.4.1-proxy-ssl-verification/src/http/modules/ngx_http_proxy_module.c --- nginx-1.4.1/src/http/modules/ngx_http_proxy_module.c 2013-05-06 13:26:50.0 +0300 +++ nginx-1.4.1