comparison src/http/ngx_http_upstream.c @ 558:2da4537168f8 NGINX_0_8_31

nginx 0.8.31 *) Feature: now the "error_page" directive may redirect the 301 and 302 responses. *) Feature: the $geoip_city_continent_code, $geoip_latitude, and $geoip_longitude variables. Thanks to Arvind Sundararajan. *) Feature: now the ngx_http_image_filter_module deletes always EXIF and other application specific data if the data consume more than 5% of a JPEG file. *) Bugfix: nginx closed a connection if a cached response had an empty body. Thanks to Piotr Sikora. *) Bugfix: nginx might not be built by gcc 4.x if the -O2 or higher optimization option was used. Thanks to Maxim Dounin and Denis F. Latypoff. *) Bugfix: regular expressions in location were always tested in case-sensitive mode; the bug had appeared in 0.8.25. *) Bugfix: nginx cached a 304 response if there was the "If-None-Match" header line in a proxied request. Thanks to Tim Dettrick and David Kostal. *) Bugfix: nginx/Windows tried to delete a temporary file twice if the file should replace an already existent file.
author Igor Sysoev <http://sysoev.ru>
date Wed, 23 Dec 2009 00:00:00 +0300
parents 5c576ea5dbd9
children 7fa8dc2315bd
comparison
equal deleted inserted replaced
557:72104cd120ec 558:2da4537168f8
1546 return; 1546 return;
1547 } 1547 }
1548 1548
1549 /* rc == NGX_OK */ 1549 /* rc == NGX_OK */
1550 1550
1551 if (u->headers_in.status_n >= NGX_HTTP_BAD_REQUEST) { 1551 if (u->headers_in.status_n > NGX_HTTP_SPECIAL_RESPONSE) {
1552 1552
1553 if (r->subrequest_in_memory) { 1553 if (r->subrequest_in_memory) {
1554 u->buffer.last = u->buffer.pos; 1554 u->buffer.last = u->buffer.pos;
1555 } 1555 }
1556 1556
4202 return uscf; 4202 return uscf;
4203 } 4203 }
4204 4204
4205 4205
4206 char * 4206 char *
4207 ngx_http_upsteam_bind_set_slot(ngx_conf_t *cf, ngx_command_t *cmd, 4207 ngx_http_upstream_bind_set_slot(ngx_conf_t *cf, ngx_command_t *cmd,
4208 void *conf) 4208 void *conf)
4209 { 4209 {
4210 char *p = conf; 4210 char *p = conf;
4211 4211
4212 ngx_int_t rc; 4212 ngx_int_t rc;