Mercurial > hg > nginx-vendor-0-5
comparison src/http/modules/ngx_http_userid_filter_module.c @ 52:0d75d65c642f NGINX_0_1_26
nginx 0.1.26
*) 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 <http://sysoev.ru> |
---|---|
date | Tue, 22 Mar 2005 00:00:00 +0300 |
parents | 72eb30262aac |
children | b55cbf18157e |
comparison
equal
deleted
inserted
replaced
51:43f383e47efc | 52:0d75d65c642f |
---|---|
603 { | 603 { |
604 ngx_str_t *domain = data; | 604 ngx_str_t *domain = data; |
605 | 605 |
606 u_char *p, *new; | 606 u_char *p, *new; |
607 | 607 |
608 if (domain->len == 4 && ngx_strcmp(domain->data, "none") == 0) { | 608 if (ngx_strcmp(domain->data, "none") == 0) { |
609 domain->len = 0; | 609 domain->len = 0; |
610 domain->data = (u_char *) ""; | 610 domain->data = (u_char *) ""; |
611 | 611 |
612 return NGX_CONF_OK; | 612 return NGX_CONF_OK; |
613 } | 613 } |
688 static char * | 688 static char * |
689 ngx_http_userid_p3p(ngx_conf_t *cf, void *post, void *data) | 689 ngx_http_userid_p3p(ngx_conf_t *cf, void *post, void *data) |
690 { | 690 { |
691 ngx_str_t *p3p = data; | 691 ngx_str_t *p3p = data; |
692 | 692 |
693 if (p3p->len == 4 && ngx_strcmp(p3p->data, "none") == 0) { | 693 if (ngx_strcmp(p3p->data, "none") == 0) { |
694 p3p->len = 0; | 694 p3p->len = 0; |
695 p3p->data = (u_char *) ""; | 695 p3p->data = (u_char *) ""; |
696 } | 696 } |
697 | 697 |
698 return NGX_CONF_OK; | 698 return NGX_CONF_OK; |