Re: Support for 3rd party zlib libraries

2014-07-29 Thread Maxim Dounin
Hello! On Tue, Jul 29, 2014 at 10:46:03PM +0200, Richard Stanway wrote: > Hello, > I recently came across a modified version of zlib with code contributed by > Intel [1] that makes use of modern CPU instructions to increase > performance. In testing, the performance gains seemed substantial, howe

Repeated include /etc/includes/ssl.conf Passes configtest, fails SSL Handshake

2014-07-29 Thread Matt Silverlock
Hi all, Had a chat with a helpful person on IRC but both are stumped as to why my configuration passes a check (nginx -t) but fails to properly handle SSL. – I’ve split a couple of repetitive blocks out into /etc/nginx/includes/ssl.conf (-rw-r--r-- root:root - same as nginx.conf - should not b

Re: Support for 3rd party zlib libraries

2014-07-29 Thread Maxim Dounin
Hello! On Tue, Jul 29, 2014 at 04:06:11PM -0700, Yichun Zhang (agentzh) wrote: > Hello! > > On Tue, Jul 29, 2014 at 3:47 PM, Richard Stanway wrote: > > Thank you for the patch. This solves the issue with streamed responses, > > however when the "if (r->headers_out.content_length_n > 0)" branch i

Re: Support for 3rd party zlib libraries

2014-07-29 Thread Yichun Zhang (agentzh)
Hello! On Tue, Jul 29, 2014 at 4:09 PM, Piotr Sikora wrote: > > Just to make this clear, the zlib library that Richard is referring to > is a fork of standard zlib (like ours), not IPP zlib. > Okay, I see. Thank you for pointing that out :) Regards, -agentzh

Re: Support for 3rd party zlib libraries

2014-07-29 Thread Piotr Sikora
Hey Yichun, > Oh, we should probably skip that condition altogether for IPP zlib. > The formula is accurate and was copied directly from the IPP zlib > source code. Try this additional patch: Just to make this clear, the zlib library that Richard is referring to is a fork of standard zlib (like o

Re: Support for 3rd party zlib libraries

2014-07-29 Thread Yichun Zhang (agentzh)
Hello! On Tue, Jul 29, 2014 at 3:47 PM, Richard Stanway wrote: > Thank you for the patch. This solves the issue with streamed responses, > however when the "if (r->headers_out.content_length_n > 0)" branch is taken, > eg with static content, I still receive the 2nd alert type below. Oh, we should

Re: Bad default for proxy_cache_key

2014-07-29 Thread Maxim Dounin
Hello! On Tue, Jul 29, 2014 at 04:49:23PM -0300, Bráulio Bhavamitra wrote: > Hum, a documentation of this use case is recommended. Personally, for me it > is completely unknown and uncommon. > > Also, isn't caching entirely related to the URL the user used, and has > nothing to do with the backe

Re: Support for 3rd party zlib libraries

2014-07-29 Thread Richard Stanway
> > > Well, I used to write a patch to enable IPP zlib (8.0) support in > NGINX (enabled by ./configure --with-ipp-zlib), just for your > reference: > > Thank you for the patch. This solves the issue with streamed responses, however when the "if (r->headers_out.content_length_n > 0)" branch is take

Re: Support for 3rd party zlib libraries

2014-07-29 Thread Yichun Zhang (agentzh)
Hello! On Tue, Jul 29, 2014 at 1:46 PM, Richard Stanway wrote: > I recently came across a modified version of zlib with code contributed by > Intel [1] that makes use of modern CPU instructions to increase performance. > In testing, the performance gains seemed substantial, however when I tried >

Support for 3rd party zlib libraries

2014-07-29 Thread Richard Stanway
Hello, I recently came across a modified version of zlib with code contributed by Intel [1] that makes use of modern CPU instructions to increase performance. In testing, the performance gains seemed substantial, however when I tried to use this version with nginx, the following alert types appeare

Re: Bad default for proxy_cache_key

2014-07-29 Thread Bráulio Bhavamitra
Hum, a documentation of this use case is recommended. Personally, for me it is completely unknown and uncommon. Also, isn't caching entirely related to the URL the user used, and has nothing to do with the backend host? On Mon, Jun 30, 2014 at 8:48 PM, Maxim Dounin wrote: > Hello! > > On Sun,

Re: Nginx + boringSSL

2014-07-29 Thread sopato
Everything is ok , but when add ssl module , such as: ./configure --with-openssl=../boringssl --prefix=/srv1/nginx --with-http_ssl_module the make process is error , what can I do next ? Thanks . Posted at Nginx Forum: http://forum.nginx.org/read.php?2,251740,252100#msg-252100 ___