commit | aceacd8088e2aca808459219fc4ff715c14d648b | [log] [tgz] |
---|---|---|
author | Maxim Dounin <mdounin@mdounin.ru> | Wed Aug 01 02:11:58 2018 +0300 |
committer | Maxim Dounin <mdounin@mdounin.ru> | Wed Aug 01 02:11:58 2018 +0300 |
tree | f6bd8bd8054a185962af5750df20ab35e983cb26 | |
parent | 90d17a1a141b11599f66588d90953544375d8861 [diff] |
Dav: fixed ngx_copy_file() to truncate destination file. Previously, ngx_open_file(NGX_FILE_CREATE_OR_OPEN) was used, resulting in destination file being partially rewritten if exists. Notably, this affected WebDAV COPY command (ticket #1576).