comparison src/http/ngx_http.c @ 2219:fb84e3e95841

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 Fri, 29 Aug 2008 13:43:38 +0000
parents 7f27856d000d
children 005fc65f7ce7
comparison
equal deleted inserted replaced
2218:7f27856d000d 2219:fb84e3e95841
1156 return NGX_ERROR; 1156 return NGX_ERROR;
1157 } 1157 }
1158 1158
1159 in_addr[a].core_srv_conf = cscfp[s]; 1159 in_addr[a].core_srv_conf = cscfp[s];
1160 in_addr[a].default_server = 1; 1160 in_addr[a].default_server = 1;
1161 in_addr[a].listen_conf = &listen[l].conf;
1161 } 1162 }
1162 1163
1163 goto found; 1164 goto found;
1164 } 1165 }
1165 1166