Mercurial > hg > nginx-vendor-0-8
comparison src/core/ngx_string.c @ 498:207ae3ff0444 NGINX_0_8_1
nginx 0.8.1
*) Feature: the "updating" parameter in "proxy_cache_use_stale" and
"fastcgi_cache_use_stale" directives.
*) Bugfix: the "If-Modified-Since", "If-Range", etc. client request
header lines were passed to backend while caching if no
"proxy_set_header" directive was used with any parameters.
*) Bugfix: the "Set-Cookie" and "P3P" response header lines were not
hidden while caching if no "proxy_hide_header/fastcgi_hide_header"
directives were used with any parameters.
*) Bugfix: the ngx_http_image_filter_module did not support GIF87a
format.
Thanks to Denis Ilyinyh.
*) Bugfix: nginx could not be built modules on Solaris 10 and early;
the bug had appeared in 0.7.56.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Mon, 08 Jun 2009 00:00:00 +0400 |
parents | ed5e10fb40fc |
children | 86dad910eeb6 |
comparison
equal
deleted
inserted
replaced
497:77fae36a61b3 | 498:207ae3ff0444 |
---|---|
28 { | 28 { |
29 if (n == 0) { | 29 if (n == 0) { |
30 return dst; | 30 return dst; |
31 } | 31 } |
32 | 32 |
33 for ( /* void */ ; --n; dst++, src++) { | 33 while (--n) { |
34 *dst = *src; | 34 *dst = *src; |
35 | 35 |
36 if (*dst == '\0') { | 36 if (*dst == '\0') { |
37 return dst; | 37 return dst; |
38 } | 38 } |
39 | |
40 dst++; | |
41 src++; | |
39 } | 42 } |
40 | 43 |
41 *dst = '\0'; | 44 *dst = '\0'; |
42 | 45 |
43 return dst; | 46 return dst; |