HTTP代理服务器
问题描述:
我开始用C写的一个非常基本的HTTP代理服务器(修改的东西,只是我的转发请求)的工作。在这一点上我有了解如何进行困难。
I am beginning work on a very basic HTTP proxy server written in C ( something that just forwards my requests). At this point I am having difficulty in understanding how to proceed.
任何帮助将是有益的。
Any help would be beneficial.
答
看看 micro_proxy
。它实现了在只有260行 C
code的HTTP / HTTPS代理的所有基本功能。
Take a look at micro_proxy
. It implements all the basic features of an HTTP/HTTPS proxy, in only 260 lines of C
code.
另外一个非常简单的实现可以在Proxy$c$c>.
Another very simple implementation can be found at Proxy
.