On Sat, 13 Sep 2003 [EMAIL PROTECTED] wrote:

> Can you tell me where(which source file) squid resolves the HTTP,FTP and other 
> protocols?
> And how can I do to make squid to supply the protocols of ourself?

forward.cc:fwdDispatch() is a good place to start. This looks into the 
protocol of the requested URL and dispatches the call to the corresponding 
server-side state machine.

Each protocol is implemented in their own file with the same name as the 
protocol (http.cc -> HTTP, ftp.cc -> FTP, gopher.cc -> Gopher).

Regards
Henrik

Reply via email to