comparison src/http/modules/ngx_http_dav_module.c @ 640:eb208e0cf44d NGINX_1_1_4

nginx 1.1.4 *) Feature: the ngx_http_upstream_keepalive module. *) Feature: the "proxy_http_version" directive. *) Feature: the "fastcgi_keep_conn" directive. *) Feature: the "worker_aio_requests" directive. *) Bugfix: if nginx was built --with-file-aio it could not be run on Linux kernel which did not support AIO. *) Bugfix: in Linux AIO error processing. Thanks to Hagai Avrahami. *) Bugfix: reduced memory consumption for long-lived requests. *) Bugfix: the module ngx_http_mp4_module did not support 64-bit MP4 "co64" atom.
author Igor Sysoev <http://sysoev.ru>
date Tue, 20 Sep 2011 00:00:00 +0400
parents bc110f60c0de
children d0f7a625f27c
comparison
equal deleted inserted replaced
639:b516b4e38bc9 640:eb208e0cf44d
156 156
157 case NGX_HTTP_PUT: 157 case NGX_HTTP_PUT:
158 158
159 if (r->uri.data[r->uri.len - 1] == '/') { 159 if (r->uri.data[r->uri.len - 1] == '/') {
160 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0, 160 ngx_log_error(NGX_LOG_ERR, r->connection->log, 0,
161 "can not PUT to a collection"); 161 "cannot PUT to a collection");
162 return NGX_HTTP_CONFLICT; 162 return NGX_HTTP_CONFLICT;
163 } 163 }
164 164
165 r->request_body_in_file_only = 1; 165 r->request_body_in_file_only = 1;
166 r->request_body_in_persistent_file = 1; 166 r->request_body_in_persistent_file = 1;