comparison src/core/ngx_resolver.c @ 378:fc497c1dfb7c NGINX_0_6_33

nginx 0.6.33 *) Feature: now nginx returns the 405 status code for POST method requesting a static file only if the file exists. *) Workaround: compatibility with glibc 2.3. Thanks to Eric Benson and Maxim Dounin. *) Bugfix: the resolver did not understand big DNS responses. Thanks to Zyb. *) Bugfix: in HTTPS mode requests might fail with the "bad write retry" error. *) Bugfix: the ngx_http_charset_module did not understand quoted charset name received from backend. *) Bugfix: if the "max_fails=0" parameter was used in upstream with several servers, then a worker process exited on a SIGFPE signal. Thanks to Maxim Dounin. *) Bugfix: the $r->header_in() method did not return value of the "Host", "User-Agent", and "Connection" request header lines; the bug had appeared in 0.6.32. *) Bugfix: a full response was returned for request method HEAD while redirection via an "error_page" directive. *) Bugfix: if a directory has search only rights and the first index file was absent, then nginx returned the 500 status code. *) Bugfix: of recursive error_page for 500 status code.
author Igor Sysoev <http://sysoev.ru>
date Thu, 20 Nov 2008 00:00:00 +0300
parents d13234035cad
children 09b703ae3ba5
comparison
equal deleted inserted replaced
377:15c4ba3bc2fa 378:fc497c1dfb7c
1834 if (n == 0) { 1834 if (n == 0) {
1835 goto done; 1835 goto done;
1836 } 1836 }
1837 1837
1838 if (n & 0xc0) { 1838 if (n & 0xc0) {
1839 n = (n & 0x3f << 8) + *p; 1839 n = ((n & 0x3f) << 8) + *p;
1840 p = &buf[n]; 1840 p = &buf[n];
1841 1841
1842 } else { 1842 } else {
1843 len += 1 + n; 1843 len += 1 + n;
1844 p = &p[n]; 1844 p = &p[n];
1884 if (n != 0) { 1884 if (n != 0) {
1885 *dst++ = '.'; 1885 *dst++ = '.';
1886 } 1886 }
1887 1887
1888 } else { 1888 } else {
1889 n = (n & 0x3f << 8) + *src; 1889 n = ((n & 0x3f) << 8) + *src;
1890 src = &buf[n]; 1890 src = &buf[n];
1891 1891
1892 n = *src++; 1892 n = *src++;
1893 } 1893 }
1894 1894