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

[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 r...@nginx.com date: Tue Dec 03 15:11:24 2013 +0400 description: Fixed null pointer dereference with $upstream_cache_last_modified. diffstat:

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(-9223372036854775808) - 1)

[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 v...@nginx.com 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

Re: Nginx Logging to Zeromq Module - Sparkngin

2013-12-03 Thread W-Mark Kubacki
2013/11/16 Steve Morin st...@stevemorin.com: 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

[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 mat...@rodley.com.au date: Tue Dec 03 22:07:03 2013 +0400 description: Added support for TCP_FASTOPEN supported in Linux = 3.7.1. --- auto/unix | 12

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