Mercurial > hg > nginx-quic
comparison src/http/ngx_http.c @ 419:47709bff4468
nginx-0.0.10-2004-09-09-19:40:48 import
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 09 Sep 2004 15:40:48 +0000 |
parents | 0526206251f6 |
children | fda5987b188d |
comparison
equal
deleted
inserted
replaced
418:cf072d26d6d6 | 419:47709bff4468 |
---|---|
52 }; | 52 }; |
53 | 53 |
54 | 54 |
55 static char *ngx_http_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) | 55 static char *ngx_http_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf) |
56 { | 56 { |
57 char *rv; | |
57 ngx_uint_t mi, m, s, l, p, a, n; | 58 ngx_uint_t mi, m, s, l, p, a, n; |
58 ngx_uint_t port_found, addr_found, virtual_names; | 59 ngx_uint_t port_found, addr_found, virtual_names; |
59 char *rv; | |
60 struct sockaddr_in *addr_in; | |
61 ngx_conf_t pcf; | 60 ngx_conf_t pcf; |
62 ngx_array_t in_ports; | 61 ngx_array_t in_ports; |
63 ngx_listening_t *ls; | 62 ngx_listening_t *ls; |
64 ngx_http_listen_t *lscf; | 63 ngx_http_listen_t *lscf; |
65 ngx_http_module_t *module; | 64 ngx_http_module_t *module; |
512 ls->nonblocking = 1; | 511 ls->nonblocking = 1; |
513 #else | 512 #else |
514 ls->nonblocking = 0; | 513 ls->nonblocking = 0; |
515 #endif | 514 #endif |
516 #endif | 515 #endif |
516 ls->addr_ntop = 1; | |
517 | 517 |
518 ls->handler = ngx_http_init_connection; | 518 ls->handler = ngx_http_init_connection; |
519 | 519 |
520 cscf = in_addr[a].core_srv_conf; | 520 cscf = in_addr[a].core_srv_conf; |
521 ls->pool_size = cscf->connection_pool_size; | 521 ls->pool_size = cscf->connection_pool_size; |