Re: NGX_INT32_LEN and NGX_INT64_LEN

2013-12-03 Thread Dean Pucsek
On December 3, 2013 at 4:38:18 AM, Maxim Dounin (mdou...@mdounin.ru) wrote: Hello! On Mon, Dec 02, 2013 at 03:44:53PM -0800, Dean Pucsek wrote: > Hello, >  > While reading through the source code for nginx I came across the following > two lines in ngx_config.h  >  > #define NGX_INT32_LEN

[nginx] Fixed "setfib=" on non-first listening socket.

2013-12-03 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/8f2c69418045 branches: changeset: 5455:8f2c69418045 user: Maxim Dounin date: Tue Dec 03 21:44:08 2013 +0400 description: Fixed "setfib=" on non-first listening socket. diffstat: src/http/ngx_http_core_module.c | 2 ++ 1 files changed, 2 inse

Re: [PATCH 1 of 1] Added support for TCP_FASTOPEN supported in Linux >= 3.7.1

2013-12-03 Thread Maxim Dounin
Hello! On Sat, Nov 02, 2013 at 11:40:20PM -0700, Mathew Rodley wrote: > # HG changeset patch > # User Mathew Rodley > # Date 1383380887 25200 > # Sat Nov 02 01:28:07 2013 -0700 Just a side note: it looks like this patch was sitting in your mail queue about a month... > # Node ID 39e094bd

[nginx] Added support for TCP_FASTOPEN supported in Linux >= 3.7.1.

2013-12-03 Thread Maxim Dounin
details: http://hg.nginx.org/nginx/rev/692afcea9d0d branches: changeset: 5456:692afcea9d0d user: Mathew Rodley date: Tue Dec 03 22:07:03 2013 +0400 description: Added support for TCP_FASTOPEN supported in Linux >= 3.7.1. --- auto/unix | 12 src/cor

Re: Nginx Logging to Zeromq Module - Sparkngin

2013-12-03 Thread W-Mark Kubacki
2013/11/16 Steve Morin : > Does anyone have experience integrating zeromq with Nginx. I am looking for > some pointers, to see what concerns I should look out for. > > I am trying to contribute this code to a open source project. > -Steve This seems to me being a good template for what you want t

[nginx] Improved code readablity in ngx_http_upstream_init_round...

2013-12-03 Thread Homutov Vladimir
details: http://hg.nginx.org/nginx/rev/359f49a84f87 branches: changeset: 5454:359f49a84f87 user: Vladimir Homutov date: Tue Dec 03 17:12:16 2013 +0400 description: Improved code readablity in ngx_http_upstream_init_round_robin(). Changed initialization order of the peer structure in

Re: NGX_INT32_LEN and NGX_INT64_LEN

2013-12-03 Thread Maxim Dounin
Hello! On Mon, Dec 02, 2013 at 03:44:53PM -0800, Dean Pucsek wrote: > Hello, > > While reading through the source code for nginx I came across the following > two lines in ngx_config.h  > > #define NGX_INT32_LEN   (sizeof("-2147483648") - 1) > #define NGX_INT64_LEN   (sizeof("-9223372036854775

[nginx] Fixed null pointer dereference with $upstream_cache_last...

2013-12-03 Thread Ruslan Ermilov
details: http://hg.nginx.org/nginx/rev/b7b8e2fa7ebd branches: changeset: 5453:b7b8e2fa7ebd user: Ruslan Ermilov date: Tue Dec 03 15:11:24 2013 +0400 description: Fixed null pointer dereference with $upstream_cache_last_modified. diffstat: src/http/ngx_http_upstream.c | 3 ++- 1 f

NGINX Module - create variables

2013-12-03 Thread Alex Koch
Hi, I would like to create a small module which execute some routines, returns an NGX_OK, somewhat similar in concept to http://blog.zhuzhaoyuan.com/2009/08/creating-a-hello-world-nginx-module/ However I would like once the module executes to create variables such as $my_var which would be acc