HTTP Proxy Server

Simple HTTP Proxy Server Implementation, based on wcol - Projects - Michael Vorburger's Private Homepage

HTTP Proxy Server

DATE & STATUS

Click here for more information about this project

September / October / November 1998

Implemented 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.

Wcol Proxy Server ButtonA posting in a newsgroup pointed the author of these lines to wcol-A[EXTERNAL], 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.
posted on 2012-04-29 08:36  lexus 阅读( ...) 评论( ...) 编辑 收藏

转载于:https://www.cnblogs.com/lexus/archive/2012/04/29/2475908.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值