Simple HTTP Proxy Server Implementation, based on wcol - Projects - Michael Vorburger's Private Homepage
2012-07-18 09:37
441 查看
Simple HTTP Proxy Server Implementation, based on wcol - Projects - Michael Vorburger's Private Homepage
PROJECT
HTTP
DATE
Click
here
for more information about this project
September / October /
November 1998Implemented
as a semester project during my ERASMUS
exchange year
in Torino,
Italy.
(«HTTP Proxy Server») was to implement a simple,
easy to understand and flexible HTTP
proxy server. The main purpose of the proxy server is to be used as an
HTML filter.
Filtering tools can be "plugged-in" very easily, without modification
of the
proxy source code. Apart from filtering, the proxy server also caches
documents on disk
for faster access. The project was developed under
UNIX (LINUX) using the gcc
compiler.
Some
research on the Web to find existing proxy servers
in source form that could be used as a basis for this project yielded
several results: GNU
wwwoffle, wcol WWW
Collector, Squid & Harvest.
Most
of the sources found were "professional" solutions, in the case of Squid
for example consisting of more than 41'000 lines of code, or wwwoffle
with 20'000
lines. Much of that code has nothing to do with actual proxy
functionality, and was of
little study interest.
A
posting in a newsgroup pointed the author of these lines to wcol-A
,
a source
from 1994. This code was studied in depth and formed the bases for this
project. The
latest version at the time of writing, wcol-E from
July 1998, had many extensions
and wcol-E consisting of 32'000 (!) lines
compared to just 3800 in wcol-A.
To ease understanding, it was decided to keep the old A-version as a
basis for this
project's proxy server.
MORE
PROJECT
NAME
HTTP
Proxy Server
DATE
& STATUS
Clickhere
for more information about this project
September / October /
November 1998Implemented
as a semester project during my ERASMUS
exchange year
in Torino,
Italy.
DESCRIPTION
The goal of this project(«HTTP Proxy Server») was to implement a simple,
easy to understand and flexible HTTP
proxy server. The main purpose of the proxy server is to be used as an
HTML filter.
Filtering tools can be "plugged-in" very easily, without modification
of the
proxy source code. Apart from filtering, the proxy server also caches
documents on disk
for faster access. The project was developed under
UNIX (LINUX) using the gcc
compiler.
Some
research on the Web to find existing proxy servers
in source form that could be used as a basis for this project yielded
several results: GNU
wwwoffle, wcol WWW
Collector, Squid & Harvest.
Most
of the sources found were "professional" solutions, in the case of Squid
for example consisting of more than 41'000 lines of code, or wwwoffle
with 20'000
lines. Much of that code has nothing to do with actual proxy
functionality, and was of
little study interest.
A
posting in a newsgroup pointed the author of these lines to wcol-A
,
a source
from 1994. This code was studied in depth and formed the bases for this
project. The
latest version at the time of writing, wcol-E from
July 1998, had many extensions
and wcol-E consisting of 32'000 (!) lines
compared to just 3800 in wcol-A.
To ease understanding, it was decided to keep the old A-version as a
basis for this
project's proxy server.
MORE
INFORMATION
Simple HTTP Proxy Server, project paper, 10 pages. Word format, 77 KB. | |
C Source code of Simple HTTP Proxy. Compiles under gcc/LINUX. 24 KB. |
相关文章推荐
- python webserver, based on SimpleHTTPServer
- Development of a HTTP Caching Proxy Server | Projects
- How to Setup a Private Proxy Server on EC2 in Under 10 Minutes
- A Simple HTTP Server Implementation
- Setup a Simple HTTP Proxy Server
- Setup a private http/nginx based GIT server
- HttpWebRequest WebExcepton: The remote server returned an error: (407) Proxy Authentication Required.
- Simple Nodejs Http/Https Proxy Server
- How to freeze a dynamic aspx page into a static html page (on the server).(转:http://codebetter.com/blogs/peter.van.ooijen/archiv
- How to use HttpWebRequest to post data to another page which is on another server
- Home | eMine: Web Page Transcoding Based on Eye Tracking Project Page
- A simple echo client & server based on twisted framework
- libevent (1) 入门教程:Echo Server based on libevent
- libevent 入门教程:Echo Server based on libevent(转)
- ViewPager SimpleOnPageChangeListener中回调函数的调用场景
- [转载]libevent入门教程:Echo Server based on libevent
- python -m SimpleHTTPServer 3000
- A Simple GPS Application Based on Microsoft.WindowsMobile.Samples.Location
- SimpleHttpServer的学习(1)
- Nginx HTTP Server + PHP5 (With fast-cgi And xcache) On Ubuntu Feisty Fawn