Mercurial > hg > nginx
diff src/http/ngx_http.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 | cd3117ad9aab |
line wrap: on
line diff
--- a/src/http/ngx_http.c Sat Mar 19 12:38:37 2005 +0000 +++ b/src/http/ngx_http.c Tue Mar 22 16:02:46 2005 +0000 @@ -11,7 +11,8 @@ static char *ngx_http_block(ngx_conf_t *cf, ngx_command_t *cmd, void *conf); -static int ngx_cmp_server_names(const void *one, const void *two); +static int ngx_libc_cdecl ngx_cmp_server_names(const void *one, + const void *two); static ngx_int_t ngx_http_add_address(ngx_conf_t *cf, ngx_http_in_port_t *in_port, ngx_http_listen_t *lscf, ngx_http_core_srv_conf_t *cscf); @@ -687,7 +688,7 @@ } -static int +static int ngx_libc_cdecl ngx_cmp_server_names(const void *one, const void *two) { ngx_http_server_name_t *first = (ngx_http_server_name_t *) one;