Bug 60746

Summary: Double DELETE results in inconsistent responses
Product: Apache httpd-2 Reporter: Michael MacNeil <michaelsmacneil>
Component: mod_davAssignee: Apache HTTPD Bugs Mailing List <bugs>
Status: NEW ---    
Severity: normal    
Priority: P2    
Version: 2.4.6   
Target Milestone: ---   
Hardware: Other   
OS: Linux   

Description Michael MacNeil 2017-02-19 02:53:41 UTC
Two applications are attempting to DELETE a piece of content at or near the same time. Normally the first gets a 204 No Content, and the second gets a 404 Not Found. (see 2569 below).

Occasionally the second gets a 403 Forbidden and an error is generated.(see 1866 below)


An example for the access log 
10.0.0.203 - - [19/Feb/2017:00:13:13 +0000] "DELETE /perm/A/2569 HTTP/1.1" 204 - "-" "-"
10.0.0.201 - - [19/Feb/2017:00:13:13 +0000] "DELETE /perm/A/2569 HTTP/1.1" 404 209 "-" "-"
10.0.1.202 - - [19/Feb/2017:00:13:13 +0000] "DELETE /perm/A/1866 HTTP/1.1" 204 - "-" "-"
10.0.1.203 - - [19/Feb/2017:00:13:13 +0000] "DELETE /perm/A/1866 HTTP/1.1" 403 213 "-" "-"

Then the error log
[Sun Feb 19 00:13:13.989597 2017] [dav:error] [pid 31097] [client 10.0.1.203:35970] Could not DELETE /perm/A/1866.  [403, #0]

I'd expect the behavior to be consistent like the first case.
Thoughts?