httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From r..@locus.apache.org
Subject cvs commit: apache-2.0/src/main http_core.c
Date Mon, 13 Nov 2000 14:19:42 GMT
rbb         00/11/13 06:19:42

  Modified:    src/main http_core.c
  Log:
  The core handler should never close a file, because we haven't actually
  sent the file yet.  This also removes the send_http_headers call, because
  that's a no-op so it doesn't make much sense to leave it in.
  
  Revision  Changes    Path
  1.214     +0 -3      apache-2.0/src/main/http_core.c
  
  Index: http_core.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/http_core.c,v
  retrieving revision 1.213
  retrieving revision 1.214
  diff -u -r1.213 -r1.214
  --- http_core.c	2000/11/10 16:11:13	1.213
  +++ http_core.c	2000/11/13 14:19:41	1.214
  @@ -2939,15 +2939,12 @@
                          ap_md5digest(r->pool, fd));
       }
   
  -    ap_send_http_header(r);
  -	
       if (!r->header_only) {
           apr_size_t nbytes;
   
           ap_send_fd(fd, r, 0, r->finfo.size, &nbytes);
       }
   
  -    apr_close(fd);
       return OK;
   }
   
  
  
  

Mime
View raw message