httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dirk.vanGulik" <Dirk.vanGu...@jrc.it>
Subject Re: More on child-process just running (chewing CPU)
Date Tue, 02 Apr 1996 08:56:18 GMT
 

or perhaps, but I have trouble here reproducing the
exact bug, so I am not sure wether this fixes it.

          while(n && !r->connection->aborted) {
              w=write(c->client, &buf[o], n); /* gives a -1 on error */
                                              /* w=fwrite() gives a 0 on error */
              if (w>0) {
                  reset_timeout(r); /* reset timeout after successfule write */
                  n-=w;
                  o+=w;
		  } else {
		  DEBUG("fd_send Write",w,n,o);
		  }
          }
 

Mime
View raw message