Branch: Tag:

2008-01-08

2008-01-08 15:11:18 by Martin Stjernholm <mast@lysator.liu.se>

Zap the remote address when the request becomes an internal refresh.

Rev: server/protocols/http.pike:1.537

2:   // Modified by Francesco Chemolli to add throttling capabilities.   // Copyright © 1996 - 2004, Roxen IS.    - constant cvs_version = "$Id: http.pike,v 1.536 2008/01/08 13:44:38 mast Exp $"; + constant cvs_version = "$Id: http.pike,v 1.537 2008/01/08 15:11:18 mast Exp $";   // #define REQUEST_DEBUG   #define MAGIC_ERROR   
2728: Inside #if defined(RAM_CACHE)
   TIMER_END(cache_lookup);    id->low_send_result(full_headers, d, sizeof(d));    +  remoteaddr = "127.0.0.1"; +  host = 0;    my_fd = 0;    misc->connection = "close";