Ignore:
Timestamp:
10/30/09 18:13:41 (3 years ago)
Author:
George Potapov <nephrite@…>
Branches:
nginx-v0.8
Parents:
178a98
git-author:
George Potapov <nephrite@…> (10/30/09 18:13:41)
git-committer:
George Potapov <nephrite@…> (10/30/09 18:13:41)
Message:

Vendor drop nginx v0.8.21

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/src/http/ngx_http_core_module.h

    r89d9dc rc7670f  
    4444 
    4545typedef struct { 
     46    u_char                     sockaddr[NGX_SOCKADDRLEN]; 
     47    socklen_t                  socklen; 
     48 
     49    unsigned                   set:1; 
    4650    unsigned                   default_server:1; 
    4751    unsigned                   bind:1; 
     
    6670 
    6771    u_char                     addr[NGX_SOCKADDR_STRLEN + 1]; 
    68 } ngx_http_listen_conf_t; 
    69  
    70  
    71 typedef struct { 
    72     u_char                     sockaddr[NGX_SOCKADDRLEN]; 
    73     socklen_t                  socklen; 
    74  
    75     u_char                    *file_name; 
    76     ngx_uint_t                 line; 
    77  
    78     ngx_http_listen_conf_t     conf; 
    79 } ngx_http_listen_t; 
     72} ngx_http_listen_opt_t; 
    8073 
    8174 
     
    143136    ngx_hash_keys_arrays_t    *variables_keys; 
    144137 
     138    ngx_array_t               *ports; 
     139 
    145140    ngx_uint_t                 try_files;       /* unsigned  try_files:1 */ 
    146141 
     
    150145 
    151146typedef struct { 
    152     /* array of the ngx_http_listen_t, "listen" directive */ 
    153     ngx_array_t                 listen; 
    154  
    155147    /* array of the ngx_http_server_name_t, "server_name" directive */ 
    156148    ngx_array_t                 server_names; 
     
    173165    ngx_flag_t                  underscores_in_headers; 
    174166 
     167    unsigned                    listen:1; 
     168#if (NGX_PCRE) 
     169    unsigned                    captures:1; 
     170#endif 
     171 
    175172    ngx_http_core_loc_conf_t  **named_locations; 
    176173} ngx_http_core_srv_conf_t; 
     
    182179typedef struct { 
    183180    /* the default server configuration for this address:port */ 
    184     ngx_http_core_srv_conf_t  *core_srv_conf; 
     181    ngx_http_core_srv_conf_t  *default_server; 
    185182 
    186183    ngx_http_virtual_names_t  *virtual_names; 
     
    223220 
    224221typedef struct { 
    225     struct sockaddr           *sockaddr; 
    226     socklen_t                  socklen; 
     222    ngx_http_listen_opt_t      opt; 
    227223 
    228224    ngx_hash_t                 hash; 
     
    230226    ngx_hash_wildcard_t       *wc_tail; 
    231227 
    232     ngx_array_t                names;      /* array of ngx_http_server_name_t */ 
    233  
    234228#if (NGX_PCRE) 
    235229    ngx_uint_t                 nregex; 
     
    238232 
    239233    /* the default server configuration for this address:port */ 
    240     ngx_http_core_srv_conf_t  *core_srv_conf; 
    241  
    242     unsigned                   default_server:1; 
    243     unsigned                   bind:1; 
    244     unsigned                   wildcard:1; 
    245 #if (NGX_HTTP_SSL) 
    246     unsigned                   ssl:1; 
    247 #endif 
    248  
    249     ngx_http_listen_conf_t    *listen_conf; 
     234    ngx_http_core_srv_conf_t  *default_server; 
     235    ngx_array_t                servers;  /* array of ngx_http_core_srv_conf_t */ 
    250236} ngx_http_conf_addr_t; 
    251237 
     
    254240#if (NGX_PCRE) 
    255241    ngx_regex_t               *regex; 
    256     ngx_uint_t                 captures;      /* unsigned  captures:1; */ 
    257 #endif 
    258     ngx_http_core_srv_conf_t  *core_srv_conf; /* virtual name server conf */ 
     242#endif 
     243    ngx_http_core_srv_conf_t  *server;   /* virtual name server conf */ 
    259244    ngx_str_t                  name; 
    260245}; 
Note: See TracChangeset for help on using the changeset viewer.