ben         96/04/02 06:10:28

  Modified:    src       http_protocol.c
  Log:
  Don't wait for a timeout to kill us, die immediately.
  
  Revision  Changes    Path
  1.16      +3 -2      apache/src/http_protocol.c
  
  Index: http_protocol.c
  ===================================================================
  RCS file: /export/home/cvs/apache/src/http_protocol.c,v
  retrieving revision 1.15
  retrieving revision 1.16
  diff -C3 -r1.15 -r1.16
  *** http_protocol.c   1996/04/02 12:02:16     1.15
  --- http_protocol.c   1996/04/02 14:10:25     1.16
  ***************
  *** 720,727 ****
        
            while(n && !r->connection->aborted) {
                w=bwrite(c->client, &buf[o], n);
  !         if (w > 0)
  !             reset_timeout(r); /* reset timeout after successfule write */
                n-=w;
                o+=w;
            }
  --- 720,728 ----
        
            while(n && !r->connection->aborted) {
                w=bwrite(c->client, &buf[o], n);
  !         if(w <= 0)
  !             break;
  !         reset_timeout(r); /* reset timeout after successfule write */
                n-=w;
                o+=w;
            }
  
  
  

Reply via email to