Re: Code Changes in squid

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sun, 02 Apr 2000 14:39:33 +0200

It could perhaps be added in fwdStart, like how miss_access is handled.

fwdStart is called when all cache hit processing, http_access control
and peer selection is completed, and Squid needs to contact the origin
server (or another peer) for retreiving the content.

--
Henrik Nordstrom
Squid hacker
Tewari, Vijay wrote:
> 
> I want to make some changes to the squid code for the following.
> 
> I want squid to send back a server too busy response to the
> client in case the value of a boolean variable is true. Its value
> changes based on feedback from the server that the client is
> attempting to connect to. Specifically if that variable is true
> the proxy should not attempt to connect to the web server rather
> just send back a server too busy response to the client.
> Where do I start. As I understand
> a function called httpAccept(int sock, void *data) is called when
> a new conn is accpeted by squid. I am not too sure how things go from
> here though.
> 
> Any help would be appreciated
> 
> Thanks
> 
> Regards
> Vijay
Received on Sun Apr 02 2000 - 08:20:44 MDT

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:22 MST