Mercurial > hg > nginx-ranges
comparison src/http/modules/ngx_http_static_handler.c @ 32:da8c190bdaba NGINX_0_1_16
nginx 0.1.16
*) Bugfix: if the response were transferred by chunks, then on the HEAD
request the final chunk was issued.
*) Bugfix: the "Connection: keep-alive" header were issued, even if the
keepalive_timeout directive forbade the keep-alive use.
*) Bugfix: the errors in the ngx_http_fastcgi_module caused the
segmentation faults.
*) Bugfix: the compressed response encrypted by SSL may not transferred
complete.
*) Bugfix: the TCP-specific TCP_NODELAY, TCP_NOPSUH, and TCP_CORK
options, are not used for the unix domain sockets.
*) Feature: the rewrite directive supports the arguments rewriting.
*) Bugfix: the response code 400 was returned for the POST request with
the "Content-Length: 0" header; bug appeared in 0.1.14.
author | Igor Sysoev <http://sysoev.ru> |
---|---|
date | Tue, 25 Jan 2005 00:00:00 +0300 |
parents | 8a529698ed55 |
children | 2879cd3a40cb |
comparison
equal
deleted
inserted
replaced
31:1b17dd824438 | 32:da8c190bdaba |
---|---|
74 ngx_log_t *log; | 74 ngx_log_t *log; |
75 ngx_buf_t *b; | 75 ngx_buf_t *b; |
76 ngx_chain_t out; | 76 ngx_chain_t out; |
77 ngx_file_info_t fi; | 77 ngx_file_info_t fi; |
78 ngx_http_cleanup_t *file_cleanup, *redirect_cleanup; | 78 ngx_http_cleanup_t *file_cleanup, *redirect_cleanup; |
79 ngx_http_log_ctx_t *ctx; | |
80 ngx_http_core_loc_conf_t *clcf; | 79 ngx_http_core_loc_conf_t *clcf; |
81 ngx_http_static_loc_conf_t *slcf; | 80 ngx_http_static_loc_conf_t *slcf; |
82 #if (NGX_HTTP_CACHE) | 81 #if (NGX_HTTP_CACHE) |
83 uint32_t file_crc, redirect_crc; | 82 uint32_t file_crc, redirect_crc; |
84 ngx_http_cache_t *file, *redirect; | 83 ngx_http_cache_t *file, *redirect; |
474 return ngx_http_send_cached(r); | 473 return ngx_http_send_cached(r); |
475 } | 474 } |
476 | 475 |
477 #endif | 476 #endif |
478 | 477 |
479 ctx = log->data; | 478 log->action = "sending response to client"; |
480 ctx->action = "sending response to client"; | |
481 | 479 |
482 file_cleanup->data.file.fd = fd; | 480 file_cleanup->data.file.fd = fd; |
483 file_cleanup->data.file.name = name.data; | 481 file_cleanup->data.file.name = name.data; |
484 file_cleanup->valid = 1; | 482 file_cleanup->valid = 1; |
485 file_cleanup->cache = 0; | 483 file_cleanup->cache = 0; |