diff src/http/ngx_http_core_module.h @ 180:4cd3e70c4d60 NGINX_0_3_37

nginx 0.3.37 *) Feature: the "limit_except" directive. *) Feature: the "if" directive supports the "!~", "!~*", "-f", and "!-f" operators. *) Feature: the ngx_http_perl_module supports the $r->request_body method. *) Bugfix: in the ngx_http_addition_filter_module.
author Igor Sysoev <http://sysoev.ru>
date Fri, 07 Apr 2006 00:00:00 +0400
parents 6be073125f2e
children 13710a1813ad
line wrap: on
line diff
--- a/src/http/ngx_http_core_module.h
+++ b/src/http/ngx_http_core_module.h
@@ -28,6 +28,8 @@ typedef struct {
     ngx_uint_t                 deferred_accept;
 #endif
 
+    u_char                     addr[INET_ADDRSTRLEN + 6];
+
 } ngx_http_listen_conf_t;
 
 
@@ -196,6 +198,9 @@ struct ngx_http_core_loc_conf_s {
     /* pointer to the modules' loc_conf */
     void        **loc_conf ;
 
+    uint32_t      limit_except;
+    void        **limit_except_loc_conf ;
+
     ngx_http_handler_pt  handler;
 
     ngx_str_t     root;                    /* root, alias */