comparison src/core/ngx_output_chain.c @ 398:9d81578d04bb NGINX_0_7_11

nginx 0.7.11 *) Change: now ngx_http_charset_module does not work by default with text/css MIME type. *) Feature: now nginx returns the 405 status code for POST method requesting a static file only if the file exists. *) Feature: the "proxy_ssl_session_reuse" directive. *) Bugfix: a "proxy_pass" directive without URI part might use original request after the "X-Accel-Redirect" redirection was used; *) Bugfix: if a directory has search only rights and the first index file was absent, then nginx returned the 500 status code. *) Bugfix: in inclusive locations; the bugs had appeared in 0.7.1.
author Igor Sysoev <http://sysoev.ru>
date Mon, 18 Aug 2008 00:00:00 +0400
parents 0b6053502c55
children 79c5df00501e
comparison
equal deleted inserted replaced
397:47d42325b5fd 398:9d81578d04bb
412 } 412 }
413 #endif 413 #endif
414 414
415 if (n != size) { 415 if (n != size) {
416 ngx_log_error(NGX_LOG_ALERT, src->file->log, 0, 416 ngx_log_error(NGX_LOG_ALERT, src->file->log, 0,
417 ngx_read_file_n " reads only %z of %O from file", 417 ngx_read_file_n " read only %z of %O from file",
418 n, size); 418 n, size);
419 if (n == 0) { 419 if (n == 0) {
420 return NGX_ERROR; 420 return NGX_ERROR;
421 } 421 }
422 } 422 }