]> granicus.if.org Git - apache/commit
Make PUT with DAV_MODE_WRITE_TRUNC create a temporary file first and, when the
authorStefan Fritsch <sf@apache.org>
Mon, 9 Nov 2009 13:14:07 +0000 (13:14 +0000)
committerStefan Fritsch <sf@apache.org>
Mon, 9 Nov 2009 13:14:07 +0000 (13:14 +0000)
commit071c3e84f9a3ce4e113da96a09e8a5d6957a63e5
tree3383a660d34a5a401cee8e55aa81a861c74498fd
parent734abfb1fac5a215de1b74aa76c76b8c0454ba00
Make PUT with DAV_MODE_WRITE_TRUNC create a temporary file first and, when the
transfer has been completed successfully, move it over the old file.

Since this would break inode keyed locking, switch to filename keyed locking
exclusively.

PR: 39815
Submitted by: Paul Querna, Stefan Fritsch

git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@834049 13f79535-47bb-0310-9956-ffa450edef68
CHANGES
modules/dav/fs/lock.c
modules/dav/fs/repos.c