Mercurial > hg > nginx
comparison src/http/ngx_http.c @ 2354:7f6f4568574d stable-0.6
r2220 merge:
set listen configuration to default server,
this fixes the case, when default server is not the first one
author | Igor Sysoev <igor@sysoev.ru> |
---|---|
date | Thu, 27 Nov 2008 14:46:01 +0000 |
parents | cb8c0c8e0c27 |
children | e3baaf7a9bde |
comparison
equal
deleted
inserted
replaced
2353:640e41cd0742 | 2354:7f6f4568574d |
---|---|
556 return NGX_CONF_ERROR; | 556 return NGX_CONF_ERROR; |
557 } | 557 } |
558 | 558 |
559 in_addr[a].core_srv_conf = cscfp[s]; | 559 in_addr[a].core_srv_conf = cscfp[s]; |
560 in_addr[a].default_server = 1; | 560 in_addr[a].default_server = 1; |
561 in_addr[a].listen_conf = &lscf[l].conf; | |
561 } | 562 } |
562 | 563 |
563 goto found; | 564 goto found; |
564 } | 565 } |
565 | 566 |