Branch: Tag:

2003-11-03

2003-11-03 13:49:19 by Martin Stjernholm <mast@lysator.liu.se>

Can't use cached time for keep-alive in chain() since it's executed after
the request and can therefore be very inaccurate.

Rev: server/protocols/http.pike:1.410

2:   // Modified by Francesco Chemolli to add throttling capabilities.   // Copyright © 1996 - 2001, Roxen IS.    - constant cvs_version = "$Id: http.pike,v 1.409 2003/11/03 13:41:58 mast Exp $"; + constant cvs_version = "$Id: http.pike,v 1.410 2003/11/03 13:49:19 mast Exp $";   // #define REQUEST_DEBUG   #define MAGIC_ERROR   
2290:    processed = 0;    do_not_disconnect=-1; // Block destruction until we return.    MARK_FD("HTTP kept alive"); -  time = predef::time(1); +  time = predef::time();       if ( le && strlen( le ) )    got_data( 0,le );