[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
proxy implementation
Hello mnemonic-developers,
there is now a pre-finished proxy implementation (some heavy things :) ). i have created a new Protocolhandler named ProxyHandler. (/src/netmanager/protocols/proxy/*).
The following files are changed for mnemonic proxy support
netmanager/netmanager.cc (use ProxyHandler)
netmanager/protocols/Makefile (proxy directory)
netmanager/protocols/proxy/ProxyHandler.cc (new)
netmanager/protocols/proxy/ProxyHandler.h (new)
netmanager/protocols/proxy/Makefile (new)
netmanager/protocols/http/HTTPHandler.h (additional GetObject Method)
netmanager/protocols/http/HTTPHandler.cc (additional GetObject Method)
netmanager/protocols/http/HTTPRequest10.cc (change ::Send (with host in GET)
netmanager/protocols/http/HTTPUrl.cc (additional constructor)
netmanager/protocols/http/HTTPUrl.h (additional constructor)
docs/proxy.txt (description, comments, installation notes)
As default proxy support is disabled. please read the file docs/proxy.txt for instructions to enable proxy support (currently the configmanager is not used. is it useable ? )
The files are available in the CVS tree (i hope i haven't forgot any files to add/change) or on my Homepage
www.jung96.or.at/~urut/mnemonic (documentation and ProxyHandler source available)
I have tested this only with squid (only linux). please test it and send me bug reports or comments :)
(special Netscape and cern proxy's must be tested)
cu,
Ueli (urutishauser@bigfoot.com)