httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dgau...@hyperreal.org
Subject cvs commit: apache-1.3/src/main http_request.c
Date Tue, 03 Feb 1998 07:32:17 GMT
dgaudet     98/02/02 23:32:17

  Modified:    src/main http_request.c
  Log:
  If r->finfo.st_mode already set then don't do an extra stat() in
  get_path_info(), assume the path info has already been discovered.
  
  Revision  Changes    Path
  1.105     +5 -0      apache-1.3/src/main/http_request.c
  
  Index: http_request.c
  ===================================================================
  RCS file: /export/home/cvs/apache-1.3/src/main/http_request.c,v
  retrieving revision 1.104
  retrieving revision 1.105
  diff -u -r1.104 -r1.105
  --- http_request.c	1998/01/31 00:15:44	1.104
  +++ http_request.c	1998/02/03 07:32:16	1.105
  @@ -174,6 +174,11 @@
       char *last_cp = NULL;
       int rv;
   
  +    if (r->finfo.st_mode) {
  +	/* assume path_info already set */
  +	return OK;
  +    }
  +
       /* Advance over trailing slashes ... NOT part of filename */
   
       for (cp = end; cp > path && cp[-1] == '/'; --cp)
  
  
  

Mime
View raw message