Re: [PATCH]add proxy_protocol_port variable for rfc6302

2015-12-07 Thread junpei yoshino
Hello, I made merged patch. # HG changeset patch # User Junpei Yoshino # Date 1449499172 -32400 # Mon Dec 07 23:39:32 2015 +0900 # Node ID f4cd90a03eca5c330f51ac4ba2673e64348c622e # Parent 29f35e60840b8eed2927dd3495ef2d8e524862f7 Http: add proxy_protocol_port variable for rfc6302 diff -r

Re: [PATCH] SSL: shutdown cleanly when other endpoint starts shutdown

2015-12-07 Thread Judson Wilson
> There is a problem with this change: in most cases in practice > close from a client means that the socket is no longer open, and > trying to send a close_notify alert won't do anything good but > will result in RST instead. Common practice seems to be don't > send close_notify alerts in such a

Re: [PATCH] SSL: shutdown cleanly when other endpoint starts shutdown

2015-12-07 Thread Maxim Dounin
Hello! On Sat, Dec 05, 2015 at 07:17:54AM +, Judson Wilson wrote: > # HG changeset patch > # User Judson Wilson > # Date 1449296759 0 > # Sat Dec 05 06:25:59 2015 + > # Node ID f41799d322f02c8998a800953d81e7274a9d3376 > # Parent cb31017e961b4a54e83c4fc1be46c18842696207 > SSL: shutd

[nginx] Added slice module to win32 builds.

2015-12-07 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/3250a5783787 branches: changeset: 6318:3250a5783787 user: Maxim Dounin date: Mon Dec 07 20:08:13 2015 +0300 description: Added slice module to win32 builds. diffstat: misc/GNUmakefile | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)

[nginx] Updated OpenSSL and PCRE used for win32 builds.

2015-12-07 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/fe0ace132a25 branches: changeset: 6319:fe0ace132a25 user: Maxim Dounin date: Mon Dec 07 20:09:34 2015 +0300 description: Updated OpenSSL and PCRE used for win32 builds. diffstat: misc/GNUmakefile | 4 ++-- 1 files changed, 2 insertions(+), 2

Re: [PATCH]add proxy_protocol_port variable for rfc6302

2015-12-07 Thread junpei yoshino
Hello. I wrote additional patch. # HG changeset patch # User Junpei Yoshino # Date 1449499172 -32400 # Mon Dec 07 23:39:32 2015 +0900 # Node ID e2984af905ff8cf523b22860620a9f3ff22d555a # Parent 59cadccedf402ec325b078cb72a284465639e0fe Change definition of proxy_protocol_port diff -r 59ca

Re: Upstream always NULL

2015-12-07 Thread Maxim Dounin
Hello! On Mon, Dec 07, 2015 at 05:28:32PM +0400, Tigran Bayburtsyan wrote: > Can you please send me some good example for upstream module implementation > ? > I've been googling all time this 2 days. The upstream module as well as 5 protocol implementations are available in nginx sources: http

[nginx] Upstream: fill r->headers_out.content_range from upstrea...

2015-12-07 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/f44de0d12143 branches: changeset: 6316:f44de0d12143 user: Roman Arutyunyan date: Mon Dec 07 16:30:47 2015 +0300 description: Upstream: fill r->headers_out.content_range from upstream response. diffstat: src/http/ngx_http_upstream.c | 5 +

[nginx] Slice filter.

2015-12-07 Thread Roman Arutyunyan
details: http://hg.nginx.org/nginx/rev/29f35e60840b branches: changeset: 6317:29f35e60840b user: Roman Arutyunyan date: Mon Dec 07 16:30:48 2015 +0300 description: Slice filter. Splits a request into subrequests, each providing a specific range of response. The variable "$slice_rang

RE: Upstream always NULL

2015-12-07 Thread Tigran Bayburtsyan
Can you please send me some good example for upstream module implementation ? I've been googling all time this 2 days. Thanks -Original Message- From: nginx-devel [mailto:nginx-devel-boun...@nginx.org] On Behalf Of Maxim Dounin Sent: Monday, December 7, 2015 4:46 PM To: nginx-devel@nginx.

Re: Upstream always NULL

2015-12-07 Thread Maxim Dounin
Hello! On Mon, Dec 07, 2015 at 12:43:25PM +0400, Tigran Bayburtsyan wrote: > function ngx_http_upstream_create , always returning NGX_ERROR . using > Debugger I saw that after this lines > > u = ngx_pcalloc(r->pool, sizeof(ngx_http_upstream_t)); > > if (u == NULL) { > > return NGX_

Upstream always NULL

2015-12-07 Thread Tigran Bayburtsyan
function ngx_http_upstream_create , always returning NGX_ERROR . using Debugger I saw that after this lines u = ngx_pcalloc(r->pool, sizeof(ngx_http_upstream_t)); if (u == NULL) { return NGX_ERROR; } ngx_ pcalloc always returning null. Is there anybody know this issue ? _