1
0
mirror of https://github.com/apache/httpd.git synced 2025-08-08 15:02:10 +03:00

The changes required for the APR_FINFO_wanted argument to

apr_stat/lstat/getfileinfo.  These are -NOT- optimal, they
  are simply the required changes to get the server working.
  The size of the patch is a warning about how we need to
  really look at what we are trying to accomplish with all
  of these stat/lstat calls.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@87760 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
William A. Rowe Jr
2001-01-20 21:42:23 +00:00
parent a9d7c604f2
commit cd1ef027c2
27 changed files with 98 additions and 112 deletions

View File

@@ -1271,7 +1271,7 @@ int ap_proxy_cache_send(request_rec *r, ap_cache_el *c)
len = 2;
apr_send(fp, CRLF, &len);
/* send data */
apr_getfileinfo(&finfo, cachefp);
apr_getfileinfo(&finfo, APR_FINFO_NORM, cachefp);
if(!r->header_only && ap_send_fd(cachefp, r, offset, finfo.size, &len))
return HTTP_INTERNAL_SERVER_ERROR;
return OK;