Commit 88c7b317 authored by William A. Rowe Jr's avatar William A. Rowe Jr
Browse files

  Deploy ap_sub_req_lookup_dirent() for the main loop.  Note we _really_
  need to further optimize this code, there are dozens of perhaps unnecessary
  stat calls, and meaningless #ifndef OS2 protections around apr_lstat()'s.
  OS2 has lstat (It's simply stat()) so we should pull the os-specific cruft.


git-svn-id: https://svn.apache.org/repos/asf/httpd/httpd/trunk@89449 13f79535-47bb-0310-9956-ffa450edef68
parent 68c39898
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -951,7 +951,7 @@ static int read_types_multi(negotiation_state *neg)
         * which we'll be slapping default_type on later).
         */

        sub_req = ap_sub_req_lookup_file(dirent.name, r, NULL);
        sub_req = ap_sub_req_lookup_dirent(&dirent, r, NULL);

        /* If it has a handler, we'll pretend it's a CGI script,
         * since that's a good indication of the sort of thing it