Branch: Tag:

1999-05-27

1999-05-27 20:37:49 by Stephen R. van den Berg <srb@cuci.nl>

FD-leak patch w/ keep-alive from Stephen van den Berg

Rev: server/protocols/http.pike:1.136

6: Inside #if defined(MAGIC_ERROR)
  #ifdef MAGIC_ERROR   inherit "highlight_pike";   #endif - constant cvs_version = "$Id: http.pike,v 1.135 1999/05/23 23:31:21 grubba Exp $"; + constant cvs_version = "$Id: http.pike,v 1.136 1999/05/27 20:37:49 neotron Exp $";   // HTTP protocol module.   #include <config.h>   private inherit "roxenlib";
1452:    if(strlen(le))    // More to handle already.    got_data(0,le); - // else - // // If no pipelined data is available, call out... - // call_out(do_timeout, 150); +  else { +  // If no pipelined data is available, call out... +  call_out(do_timeout, 150); +  time = _time(1); +  }       if(!my_fd)    {