httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ryan Bloom <...@locus.apache.org>
Subject cvs commit: apache-2.0/src/main iol_socket.c
Date Thu, 06 Jul 2000 20:01:19 GMT
rbb         00/07/06 13:01:19

  Modified:    src/main iol_socket.c
  Log:
  
  
  Revision  Changes    Path
  1.4       +5 -0      apache-2.0/src/main/iol_socket.c
  
  Index: iol_socket.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/main/iol_socket.c,v
  retrieving revision 1.3
  retrieving revision 1.4
  diff -u -r1.3 -r1.4
  --- iol_socket.c	2000/07/05 19:39:21	1.3
  +++ iol_socket.c	2000/07/06 20:01:18	1.4
  @@ -57,6 +57,7 @@
    */
   
   #define CORE_PRIVATE
  +#include "apr.h"
   #include "ap_config.h"
   #include "httpd.h"
   #include "ap_iol.h"
  @@ -135,7 +136,11 @@
                                      ap_hdtr_t *hdtr, ap_off_t *offset, 
                                      ap_size_t *len,  ap_int32_t flags) 
   {
  +#if APR_HAS_SENDFILE
       return ap_sendfile(((iol_socket *)viol)->sock, file, hdtr, offset, len, flags);
  +#else
  +    return APR_ENOTIMPL;
  +#endif
   }
   
   static ap_status_t socket_close(ap_iol *viol)
  
  
  

Mime
View raw message