Mercurial > hg > nginx-vendor-current
comparison src/http/modules/ngx_http_auth_basic_module.c @ 620:b4dcae568a2a NGINX_1_0_0
nginx 1.0.0
*) Bugfix: a cache manager might hog CPU after reload.
Thanks to Maxim Dounin.
*) Bugfix: an "image_filter crop" directive worked incorrectly coupled
with an "image_filter rotate 180" directive.
*) Bugfix: a "satisfy any" directive disabled custom 401 error page.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 12 Apr 2011 00:00:00 +0400 |
parents | 8246d8a2c2be |
children | a7a5fa2e395b |
comparison
equal
deleted
inserted
replaced
619:c4e0de226b0b | 620:b4dcae568a2a |
---|---|
246 } | 246 } |
247 } | 247 } |
248 | 248 |
249 if (state == sw_passwd) { | 249 if (state == sw_passwd) { |
250 left = left + n - passwd; | 250 left = left + n - passwd; |
251 ngx_memcpy(buf, &buf[passwd], left); | 251 ngx_memmove(buf, &buf[passwd], left); |
252 passwd = 0; | 252 passwd = 0; |
253 | 253 |
254 } else { | 254 } else { |
255 left = 0; | 255 left = 0; |
256 } | 256 } |