when we are the main request.
This fixes a problem with mod_include printing out an error message on DAV
sub-requests because mod_dav will return DONE instead of OK. This would
result in the correct output merged in with an error string.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@96642
13f79535-47bb-0310-9956-
ffa450edef68
}
if (retval != OK) {
retval = ap_invoke_handler(r);
+ if (retval == DONE) {
+ retval = OK;
+ }
}
ap_finalize_sub_req_protocol(r);
return retval;