or apr_bucket_read instead of APR_EGENERAL if they fail.
git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@390499
13f79535-47bb-0310-9956-
ffa450edef68
h->cache_obj->key);
/* Remove the intermediate cache file and return non-APR_SUCCESS */
file_cache_errorcleanup(dobj, r);
- return APR_EGENERAL;
+ return rv;
}
rv = apr_file_write_full(dobj->tfd, str, length, &written);
if (rv != APR_SUCCESS) {
h->cache_obj->key);
/* Remove the intermediate cache file and return non-APR_SUCCESS */
file_cache_errorcleanup(dobj, r);
- return APR_EGENERAL;
+ return rv;
}
dobj->file_size += written;
if (dobj->file_size > conf->maxfs) {