Changeset dcc916
- Timestamp:
- 03/03/09 16:26:42 (3 years ago)
- Branches:
- master-v0.7, nginx-v0.7, nginx-v0.8
- Children:
- 49bd83
- Parents:
- 814513
- git-author:
- George Potapov <nephrite@…> (03/03/09 16:26:42)
- git-committer:
- George Potapov <nephrite@…> (03/03/09 16:26:42)
- Location:
- server
- Files:
-
- 7 edited
-
CHANGES (modified) (1 diff)
-
CHANGES.ru (modified) (1 diff)
-
src/core/nginx.h (modified) (1 diff)
-
src/core/ngx_inet.h (modified) (1 diff)
-
src/http/modules/ngx_http_auth_basic_module.c (modified) (5 diffs)
-
src/http/modules/perl/nginx.pm (modified) (1 diff)
-
src/os/unix/ngx_process_cycle.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
server/CHANGES
r814513 rdcc916 1 2 Changes with nginx 0.7.38 23 Feb 2009 3 4 *) Feature: authentication failures logging. 5 6 *) Bugfix: name/password in auth_basic_user_file were ignored after odd 7 number of empty lines. 8 Thanks to Alexander Zagrebin. 9 10 *) Bugfix: a segmentation fault occurred in a master process, if long 11 path was used in unix domain socket; the bug had appeared in 0.7.36. 12 1 13 2 14 Changes with nginx 0.7.37 21 Feb 2009 3 15 4 *) Bugfix: directive using upstreams did not work; the bug had appeared5 in 0.7.36.16 *) Bugfix: directives using upstreams did not work; the bug had 17 appeared in 0.7.36. 6 18 7 19 -
server/CHANGES.ru
r814513 rdcc916 1 2 éÚÍÅÎÅÎÉÑ × nginx 0.7.38 23.02.2009 3 4 *) äÏÂÁ×ÌÅÎÉÅ: ÌÏÇÇÉÒÏ×ÁÎÉÅ ÏÛÉÂÏË ÁÕÔÅÎÔÉÆÉËÁÃÉÉ. 5 6 *) éÓÐÒÁ×ÌÅÎÉÅ: ÉÍÑ/ÐÁÒÏÌØ, ÚÁÄÁÎÎÙÅ × auth_basic_user_file, 7 ÉÇÎÏÒÉÒÏ×ÁÌÉÓØ ÐÏÓÌÅ ÎÅÞ£ÔÎÏÇÏ ÞÉÓÌÁ ÐÕÓÔÙÈ ÓÔÒÏË. 8 óÐÁÓÉÂÏ áÌÅËÓÁÎÄÒÕ úÁÇÒÅÂÉÎÕ. 9 10 *) éÓÐÒÁ×ÌÅÎÉÅ: ÐÒÉ ÉÓÐÏÌØÚÏ×ÁÎÉÉ ÄÌÉÎÎÏÇÏ ÐÕÔÉ × unix domain ÓÏËÅÔÅ × 11 ÇÌÁ×ÎÏÍ ÐÒÏÃÅÓÓÅ ÐÒÏÉÓÈÏÄÉÌ segmentation fault; ÏÛÉÂËÁ ÐÏÑ×ÉÌÁÓØ × 12 0.7.36. 13 1 14 2 15 éÚÍÅÎÅÎÉÑ × nginx 0.7.37 21.02.2009 -
server/src/core/nginx.h
r814513 rdcc916 9 9 10 10 11 #define NGINX_VERSION "0.7.3 7"11 #define NGINX_VERSION "0.7.38" 12 12 #define NGINX_VER "nginx/" NGINX_VERSION 13 13 -
server/src/core/ngx_inet.h
r457fcf rdcc916 23 23 * TODO: autoconfigure NGX_SOCKADDRLEN as 24 24 * sizeof(struct sockaddr_storage) 25 * sizeof(struct sockaddr_un) 25 26 * sizeof(struct sockaddr_in6) 26 27 * sizeof(struct sockaddr_in) 27 28 */ 28 29 29 #if (NGX_HAVE_ INET6)30 #define NGX_SOCKADDRLEN sizeof(struct sockaddr_ in6)30 #if (NGX_HAVE_UNIX_DOMAIN) 31 #define NGX_SOCKADDRLEN sizeof(struct sockaddr_un) 31 32 #else 32 #define NGX_SOCKADDRLEN sizeof(struct sockaddr_in)33 #define NGX_SOCKADDRLEN 512 33 34 #endif 34 35 -
server/src/http/modules/ngx_http_auth_basic_module.c
r604d5c rdcc916 127 127 128 128 if (rc == NGX_DECLINED) { 129 130 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, 131 "no user/password was provided for basic authentication"); 132 129 133 return ngx_http_auth_basic_set_realm(r, &alcf->realm); 130 134 } … … 173 177 174 178 case sw_login: 175 if (login == 0 && buf[i] == '#') { 176 state = sw_skip; 177 break; 179 if (login == 0) { 180 181 if (buf[i] == '#' || buf[i] == CR) { 182 state = sw_skip; 183 break; 184 } 185 186 if (buf[i] == LF) { 187 break; 188 } 178 189 } 179 190 … … 243 254 } 244 255 256 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, 257 "user \"%V\" was not found in \"%V\"", 258 &r->headers_in.user, &alcf->user_file); 259 245 260 return ngx_http_auth_basic_set_realm(r, &alcf->realm); 246 261 } … … 258 273 259 274 ngx_log_debug3(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, 260 "rc: %d user: \"%V\" salt: \"%s\"",261 rc, &r->headers_in.user, passwd->data);275 "rc: %d user: \"%V\" salt: \"%s\"", 276 rc, &r->headers_in.user, passwd->data); 262 277 263 278 if (rc == NGX_OK) { … … 268 283 ngx_log_debug1(NGX_LOG_DEBUG_HTTP, r->connection->log, 0, 269 284 "encrypted: \"%s\"", encrypted); 285 286 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, 287 "user \"%V\": password mismatch", 288 &r->headers_in.user); 270 289 271 290 return ngx_http_auth_basic_set_realm(r, realm); -
server/src/http/modules/perl/nginx.pm
r814513 rdcc916 48 48 ); 49 49 50 our $VERSION = '0.7.3 7';50 our $VERSION = '0.7.38'; 51 51 52 52 require XSLoader; -
server/src/os/unix/ngx_process_cycle.c
r604d5c rdcc916 1005 1005 { 1006 1006 ngx_log_error(NGX_LOG_ALERT, cycle->log, 0, 1007 "open socket #%d left in %ui connection%s",1007 "open socket #%d left in connection %ui%s", 1008 1008 c[i].fd, i, ngx_debug_quit ? ", aborting" : ""); 1009 1009 ngx_debug_point();
Note: See TracChangeset
for help on using the changeset viewer.
