Branch: Tag:

2000-09-12

2000-09-12 20:55:27 by Per Hedbor <ph@opera.com>

Fixed leaking (well, somewhat) call_out()s when sending reply from cache

Rev: server/protocols/http.pike:1.273

2:   // Modified by Francesco Chemolli to add throttling capabilities.   // Copyright © 1996 - 2000, Roxen IS.    - constant cvs_version = "$Id: http.pike,v 1.272 2000/09/10 15:18:25 per Exp $"; + constant cvs_version = "$Id: http.pike,v 1.273 2000/09/12 20:55:27 per Exp $";   // #define REQUEST_DEBUG   #define MAGIC_ERROR   
1940:    }   #endif /* MAGIC_ERROR */    -  remove_call_out(do_timeout); +     MARK_FD("HTTP handling request");       array e;
2095:    my_fd->set_read_callback(0);    processed=1;    +  remove_call_out(do_timeout);   #ifdef RAM_CACHE    array cv;    if( misc->cacheable && (cv = conf->datacache->get( raw_url )) )