⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 changelog

📁 一个java写的proxy的例子
💻
字号:
2000-11-18    <amitp@leland.stanford.edu>	* transport/dns_lookups.py: changed DNS responses from tuples	to objects with methods isError, isFound, isRedirect.  This is a	little cleaner.2000-11-12    <amitp@leland.stanford.edu>	* proxy4.py: switched to new asyncore from Sam Rushing.	Updated poll loop to use new meaning of asyncore.socket_map.2000-05-07    <amitp@leland.stanford.edu>	* transport/http_server.py (ServerConnection): renamed to	HttpServer, just in case we want other protocols in the future.	* transport/http_client.py (ClientConnection): renamed to	HttpClient, just in case we want other protocols in the future.	* proxy4_base.py: moved Connection into transport/connection.py	and Listener into transport/Listener.py.2000-05-04    <amitp@leland.stanford.edu>	* transport/http_server.py (ServerConnection.process): split up	process into process_<state> for each of the states.  The main	process function keeps calling a process_<state> function until	no bytes were processed and the state didn't change.2000-04-20    <amitp@leland.stanford.edu>	* transport/dns_lookups.py (DnsLookupHostname): started queries on	multiple nameservers in parallel (staggered)2000-04-09    <amitp@leland.stanford.edu>	* transport/http_server.py (ServerConnection): added support for	multiple content/transfer decodings	* transport/dns_lookups.py (DnsLookupConnection): added support	for TCP lookups: if the UDP lookups are timing out, try TCP,	unless previous attempts to use TCP were unsuccessful2000-04-05    <amitp@leland.stanford.edu>	* proxy4_dns.py: moved to transport/dns_lookups.py		* proxy4_web.py: separated this file into three: transport/	http_client.py, transport/http_server.py, and	transport/http_match.py.2000-03-19    <amitp@leland.stanford.edu>	* proxy4_web.py (ClientServerMatchmaker): persistent connections	were too complicated to put in the server, so I added a matchmaker	object whose job it is to find a suitable server and hook it up to	the client; the matchmaker also limits the number of connections	per server2000-03-13    <amitp@leland.stanford.edu>	* proxy4_web.py (ServerConnection): added persistent connections2000-03-12    <amitp@leland.stanford.edu>	* encoding_chunked.py: added support for the 'chunked'	Transfer-encoding in HTTP/1.1	* encoding_gzip.py: added support for the 'gzip' Content-encoding2000-03-11    <amitp@leland.stanford.edu>	* proxy4_web.py: browser objects and server objects parse headers2000-03-08    <amitp@leland.stanford.edu>	* proxy4_dns.py (DnsCache): separated pending lookups (`pending'	field) from the cache (`cache' field) so that we can keep old	cache values while a new lookup is pending2000-03-04    <amitp@leland.stanford.edu>	* proxy4_dns.py (DnsExpandHostname): changed DNS lookups to try	several expansions of names without periods (using search domains	from /etc/resolv.conf, and also patterns like www.*.com)2000-03-03    <amitp@leland.stanford.edu>	* proxy4_interp.py: added an Python expression interpreter	accessible on a separate port; this may be useful for debugging2000-03-02    <amitp@leland.stanford.edu>	* proxy4_dns.py: moved configuration information to the DnsConfig	class	* proxy4_dns.py: changed DNS lookups to try all the DNS servers in	sequence2000-02-26    <amitp@leland.stanford.edu>	* proxy4_base.py: added a timer system, where functions can be	registered to run after some number of seconds	* proxy4_dns.py: added asynchronous DNS lookups as well as DNS	lookup sharing (multiple server connections share a single DNS	lookup, which gets cached)	* proxy4.py: HTTP proxy based on Sam Rushing's asyncore, with one	dispatcher per socket connection.

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -