comparison src/http/ngx_http_core_module.c @ 503:b1648294f693 release-0.1.26

nginx-0.1.26-RELEASE import *) Change: the invalid client header lines are now ignored and logged at the info level. *) Change: the server name is also logged in error log. *) Feature: the ngx_http_auth_basic_module module and the auth_basic and auth_basic_user_file directives.
author Igor Sysoev <igor@sysoev.ru>
date Tue, 22 Mar 2005 16:02:46 +0000
parents d4ea69372b94
children ee66921ecd47
comparison
equal deleted inserted replaced
502:2017b79d7db5 503:b1648294f693
33 33
34 static char *ngx_http_core_server(ngx_conf_t *cf, ngx_command_t *cmd, 34 static char *ngx_http_core_server(ngx_conf_t *cf, ngx_command_t *cmd,
35 void *dummy); 35 void *dummy);
36 static char *ngx_http_core_location(ngx_conf_t *cf, ngx_command_t *cmd, 36 static char *ngx_http_core_location(ngx_conf_t *cf, ngx_command_t *cmd,
37 void *dummy); 37 void *dummy);
38 static int ngx_http_core_cmp_locations(const void *first, const void *second); 38 static int ngx_libc_cdecl ngx_http_core_cmp_locations(const void *first,
39 const void *second);
39 40
40 static char *ngx_http_core_types(ngx_conf_t *cf, ngx_command_t *cmd, 41 static char *ngx_http_core_types(ngx_conf_t *cf, ngx_command_t *cmd,
41 void *conf); 42 void *conf);
42 static char *ngx_http_core_type(ngx_conf_t *cf, ngx_command_t *dummy, 43 static char *ngx_http_core_type(ngx_conf_t *cf, ngx_command_t *dummy,
43 void *conf); 44 void *conf);
1255 1256
1256 return rv; 1257 return rv;
1257 } 1258 }
1258 1259
1259 1260
1260 static int 1261 static int ngx_libc_cdecl
1261 ngx_http_core_cmp_locations(const void *one, const void *two) 1262 ngx_http_core_cmp_locations(const void *one, const void *two)
1262 { 1263 {
1263 ngx_int_t rc; 1264 ngx_int_t rc;
1264 ngx_http_core_loc_conf_t *first, *second; 1265 ngx_http_core_loc_conf_t *first, *second;
1265 1266