# HG changeset patch # User Igor Sysoev # Date 1220017418 0 # Node ID fb84e3e9584149507ff24b7580a6809b87270498 # Parent 7f27856d000df3ea43af1194853998f7ea95822e set listen configuration to default server, this fixes the case, when default server is not the first one diff -r 7f27856d000d -r fb84e3e95841 src/http/ngx_http.c --- a/src/http/ngx_http.c Wed Aug 27 13:26:35 2008 +0000 +++ b/src/http/ngx_http.c Fri Aug 29 13:43:38 2008 +0000 @@ -1158,6 +1158,7 @@ in_addr[a].core_srv_conf = cscfp[s]; in_addr[a].default_server = 1; + in_addr[a].listen_conf = &listen[l].conf; } goto found;