comparison src/http/ngx_http_special_response.c @ 378:820f6378fc00 NGINX_0_7_1

nginx 0.7.1 *) Change: now locations are searched in a tree. *) Change: the "optimize_server_names" directive was canceled due to the "server_name_in_redirect" directive introduction. *) Change: some long deprecated directives are not supported anymore. *) Change: the "none" parameter in the "ssl_session_cache" directive; now this is default parameter. Thanks to Rob Mueller. *) Bugfix: worker processes might not catch reconfiguration and log rotation signals. *) Bugfix: nginx could not be built on latest Fedora 9 Linux. Thanks to Roxis.
author Igor Sysoev <http://sysoev.ru>
date Mon, 26 May 2008 00:00:00 +0400
parents 6639b93e81b2
children bc21d9cd9c54
comparison
equal deleted inserted replaced
377:5d98007adb5f 378:820f6378fc00
341 error = NGX_HTTP_INTERNAL_SERVER_ERROR; 341 error = NGX_HTTP_INTERNAL_SERVER_ERROR;
342 } 342 }
343 343
344 r->err_status = error; 344 r->err_status = error;
345 345
346 if (r->keepalive != 0) { 346 if (r->keepalive) {
347 switch (error) { 347 switch (error) {
348 case NGX_HTTP_BAD_REQUEST: 348 case NGX_HTTP_BAD_REQUEST:
349 case NGX_HTTP_REQUEST_ENTITY_TOO_LARGE: 349 case NGX_HTTP_REQUEST_ENTITY_TOO_LARGE:
350 case NGX_HTTP_REQUEST_URI_TOO_LARGE: 350 case NGX_HTTP_REQUEST_URI_TOO_LARGE:
351 case NGX_HTTP_TO_HTTPS: 351 case NGX_HTTP_TO_HTTPS:
617 617
618 b->pos = tail; 618 b->pos = tail;
619 b->last = tail + len; 619 b->last = tail + len;
620 620
621 out[1].buf = b; 621 out[1].buf = b;
622 out[1].next = NULL;; 622 out[1].next = NULL;
623 623
624 if (msie_padding) { 624 if (msie_padding) {
625 b = ngx_calloc_buf(r->pool); 625 b = ngx_calloc_buf(r->pool);
626 if (b == NULL) { 626 if (b == NULL) {
627 return NGX_ERROR; 627 return NGX_ERROR;
631 b->pos = ngx_http_msie_stub; 631 b->pos = ngx_http_msie_stub;
632 b->last = ngx_http_msie_stub + sizeof(ngx_http_msie_stub) - 1; 632 b->last = ngx_http_msie_stub + sizeof(ngx_http_msie_stub) - 1;
633 633
634 out[1].next = &out[2]; 634 out[1].next = &out[2];
635 out[2].buf = b; 635 out[2].buf = b;
636 out[2].next = NULL;; 636 out[2].next = NULL;
637 } 637 }
638 638
639 if (r == r->main) { 639 if (r == r->main) {
640 b->last_buf = 1; 640 b->last_buf = 1;
641 } 641 }