apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject cvs commit: apr/network_io/unix sendrecv.c
Date Fri, 01 Aug 2003 11:06:53 GMT
trawick     2003/08/01 04:06:52

  Modified:    network_io/unix sendrecv.c
  Log:
  leave a comment about an interesting and possibly unexpected
  behavior
  
  Revision  Changes    Path
  1.99      +8 -0      apr/network_io/unix/sendrecv.c
  
  Index: sendrecv.c
  ===================================================================
  RCS file: /home/cvs/apr/network_io/unix/sendrecv.c,v
  retrieving revision 1.98
  retrieving revision 1.99
  diff -u -r1.98 -r1.99
  --- sendrecv.c	30 May 2003 12:50:39 -0000	1.98
  +++ sendrecv.c	1 Aug 2003 11:06:52 -0000	1.99
  @@ -741,6 +741,14 @@
       /* Ignore flags for now. */
       flags = 0;
   
  +    /* word to the wise: by default, AIX stores files sent by send_file()
  +     * in the network buffer cache...  there are supposedly scenarios
  +     * where the most recent copy of the file won't be sent, but I can't
  +     * recreate the potential problem, perhaps because of the way we
  +     * use send_file()...  if you suspect such a problem, try turning
  +     * on the SF_SYNC_CACHE flag
  +     */
  +
       /* AIX can also send the headers/footers as part of the system call */
       parms.header_length = 0;
       if (hdtr && hdtr->numheaders) {
  
  
  

Mime
View raw message