httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Laurie <...@hyperreal.com>
Subject cvs commit: apache/src mod_proxy.c
Date Tue, 02 Apr 1996 16:12:58 GMT
ben         96/04/02 08:12:57

  Modified:    src       mod_proxy.c
  Log:
  Submitted by: James H. Cloos Jr.
  Check return of bwrite properly.
  
  Revision  Changes    Path
  1.19      +3 -2      apache/src/mod_proxy.c
  
  Index: mod_proxy.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/mod_proxy.c,v
  retrieving revision 1.18
  retrieving revision 1.19
  diff -C3 -r1.18 -r1.19
  *** mod_proxy.c	1996/04/01 12:38:08	1.18
  --- mod_proxy.c	1996/04/02 16:12:54	1.19
  ***************
  *** 844,851 ****
    	
            while(n && !r->connection->aborted) {
                w = bwrite(con->client, &buf[o], n);
  ! 	    if (w > 0)
  ! 	        reset_timeout(r); /* reset timeout after successfule write */
                n-=w;
                o+=w;
            }
  --- 844,852 ----
    	
            while(n && !r->connection->aborted) {
                w = bwrite(con->client, &buf[o], n);
  ! 	    if (w <= 0)
  ! 		break;
  ! 	    reset_timeout(r); /* reset timeout after successfule write */
                n-=w;
                o+=w;
            }
  
  
  

Mime
View raw message