Re: Fix windows issue with multiple workers

2015-06-18 Thread Sergey Brester
So, in VM it work for me also. I'm assuming that something on my windows work-pc has prevented to inherit listener in this way (driver, LSPs installed (Layered Service Providers), antivirus or something else)... But, why don't you want to use a suggested solution of me? If I will realize th

[PATCH] SSL: mark connections as non-reusable before SSL handshake

2015-06-18 Thread Piotr Sikora
# HG changeset patch # User Piotr Sikora # Date 1434623800 25200 # Thu Jun 18 03:36:40 2015 -0700 # Node ID cda1075a9536257e510b452df084e4cc396ab25d # Parent c3ec43580a48114dfd28186f43e773fcfe211337 SSL: mark connections as non-reusable before SSL handshake. Previously, connections were mar

[PATCH] SSL: avoid SSL_CTX_set_tmp_rsa_callback() call with LibreSSL

2015-06-18 Thread Piotr Sikora
# HG changeset patch # User Piotr Sikora # Date 1434623801 25200 # Thu Jun 18 03:36:41 2015 -0700 # Node ID e0d2520ed65517b581f2565160a89ba93f4f3630 # Parent c3ec43580a48114dfd28186f43e773fcfe211337 SSL: avoid SSL_CTX_set_tmp_rsa_callback() call with LibreSSL. Signed-off-by: Piotr Sikora

[PATCH] SSL: guard use of SSL_R_BLOCK_CIPHER_PAD_IS_WRONG

2015-06-18 Thread Piotr Sikora
# HG changeset patch # User Piotr Sikora # Date 1434623802 25200 # Thu Jun 18 03:36:42 2015 -0700 # Node ID 2cf1105061a2e952865f81ffad560c5e9b0843fa # Parent c3ec43580a48114dfd28186f43e773fcfe211337 SSL: guard use of SSL_R_BLOCK_CIPHER_PAD_IS_WRONG. It has been removed from BoringSSL. Sign

[PATCH] SSL: cast hostname in SSL_set_tlsext_host_name()

2015-06-18 Thread Piotr Sikora
# HG changeset patch # User Piotr Sikora # Date 1434623803 25200 # Thu Jun 18 03:36:43 2015 -0700 # Node ID 175c159113f26dac29f246b01a9195d90551ee3c # Parent c3ec43580a48114dfd28186f43e773fcfe211337 SSL: cast hostname in SSL_set_tlsext_host_name(). Both OpenSSL and LibreSSL use macros and t

[PATCH] SSL: guard use of SSLEAY_VERSION_NUMBER

2015-06-18 Thread Piotr Sikora
# HG changeset patch # User Piotr Sikora # Date 1434623802 25200 # Thu Jun 18 03:36:42 2015 -0700 # Node ID 4e0b02f89144cd774e213458c1d8f71b59ace1f9 # Parent c3ec43580a48114dfd28186f43e773fcfe211337 SSL: guard use of SSLEAY_VERSION_NUMBER. It has been removed from BoringSSL, which isn't ver

Re: Breaking content generation phase into multiple phases or adding custom events in content phase

2015-06-18 Thread Jeff Kaufman
ngx_pagespeed does this by giving nginx a pipe to watch, setting up a handler for that pipe, calling an async api that uses threads, then the from the callback writing a byte to the pipe. Now when the async code finishes we're back on the nginx event loop in the pipe's handler. On Wed, Jun 17, 20

[nginx] Stream: connection limiting module.

2015-06-18 Thread Vladimir Homutov
details: http://hg.nginx.org/nginx/rev/0dcef374b8bb branches: changeset: 6197:0dcef374b8bb user: Vladimir Homutov date: Thu Jun 18 14:17:30 2015 +0300 description: Stream: connection limiting module. stream { limit_conn_zone $binary_remote_addr zone=perip:1m; limit_conn_log_

[nginx] Upstream: fixed shared upstreams on win32.

2015-06-18 Thread Ruslan Ermilov
details: http://hg.nginx.org/nginx/rev/311d232ad803 branches: changeset: 6198:311d232ad803 user: Ruslan Ermilov 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 +++

Re: Fix windows issue with multiple workers

2015-06-18 Thread Maxim Dounin
Hello! On Thu, Jun 18, 2015 at 11:23:37AM +0200, Sergey Brester wrote: > So, in VM it work for me also. > > I'm assuming that something on my windows work-pc has prevented to inherit > listener in this way (driver, LSPs installed (Layered Service Providers), > antivirus or something else)... Qu

Re: Breaking content generation phase into multiple phases or adding custom events in content phase

2015-06-18 Thread Yichun Zhang (agentzh)
Hello! On Thu, Jun 18, 2015 at 7:06 PM, Jeff Kaufman wrote: > ngx_pagespeed does this by giving nginx a pipe to watch, setting up a > handler for that pipe, calling an async api that uses threads, then > the from the callback writing a byte to the pipe. Now when the async > code finishes we're ba