Re: Issue with HTTP/2 and async file upload from Safari on iOS

2016-07-08 Thread itpp2012
You can manually apply the patches and recompile. Posted at Nginx Forum: https://forum.nginx.org/read.php?2,267385,268205#msg-268205 ___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

Re: Issue with HTTP/2 and async file upload from Safari on iOS

2016-07-08 Thread ZaneCEO
Hi guys, that's the issue for me: I'm with Ubuntu 16.04 official packages. I apt dist-upgrade, but still I'm on nginx/1.10.0.. Any solution other than switching to https://launchpad.net/~nginx/+archive/ubuntu/development (wich scares the skull out of me, since this is a production server)? Posted

Re: Optimization flags

2016-07-08 Thread Lantos István
I made a non-scientific benchmark on my laptop with my project. Although jumping from -O2 to -Ofast giving me dramatic speed boost, it's interesting to see that going from gcc-4.9 to clang-3.9, there's no difference, just margin of error. The test is non-scientific, I worked on my PC at midday on r

Re: Optimization flags

2016-07-08 Thread Lantos István
Thank You! 2016-07-08 15:20 GMT+02:00 Valentin V. Bartenev : > On Friday 08 July 2016 14:44:00 Lantos István wrote: > > The default --with-cc-opt flags for Nginx are these: > > > > *--with-cc-opt='-g -O2 -fstack-protector-strong -Wformat > > > -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2'* > >

Re: Optimization flags

2016-07-08 Thread Valentin V. Bartenev
On Friday 08 July 2016 14:44:00 Lantos István wrote: > The default --with-cc-opt flags for Nginx are these: > > *--with-cc-opt='-g -O2 -fstack-protector-strong -Wformat > > -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2'* > > > > However I added more optimizations, which are against the standard

Re: Optimization flags

2016-07-08 Thread Lantos István
Seems like --with-cc=clang flag is where I can define clang compiler. Is it safe to use with --with-cc-opt='-std=c11 ...? I think clang uses C11 anyway. 2016-07-08 14:44 GMT+02:00 Lantos István : > The default --with-cc-opt flags for Nginx are these: > > *--with-cc-opt='-g -O2 -fstack-protector-s

Optimization flags

2016-07-08 Thread Lantos István
The default --with-cc-opt flags for Nginx are these: *--with-cc-opt='-g -O2 -fstack-protector-strong -Wformat > -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2'* > However I added more optimizations, which are against the standard: *--with-cc-opt='-g -Ofast -march=native -ffast-math > -fstack-pr

Re: Rewrite Rules from apache

2016-07-08 Thread Francis Daly
On Thu, Jul 07, 2016 at 06:49:21PM +0200, Daniel wrote: Hi there, > This is my htaccess Rule: > > RewriteCond %{DOCUMENT_ROOT}/$3 -f > RewriteRule ^(.*?)/(.*?)/(.*)$ /$3 I suspect that some previous part of the htaccess file has a regex which sets $3. What is that? Or, alternatively: What h