Bug 60746 - Double DELETE results in inconsistent responses
Summary: Double DELETE results in inconsistent responses
Status: NEW
Alias: None
Product: Apache httpd-2
Classification: Unclassified
Component: mod_dav (show other bugs)
Version: 2.4.6
Hardware: Other Linux
: P2 normal (vote)
Target Milestone: ---
Assignee: Apache HTTPD Bugs Mailing List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-02-19 02:53 UTC by Michael MacNeil
Modified: 2017-02-19 02:53 UTC (History)
0 users



Attachments

Note You need to log in before you can comment on or make changes to this bug.
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?