HTTP proxy server

Alex Xander picture Alex Xander · Nov 14, 2009 · Viewed 13.4k times · Source

I am beginning work on a very basic HTTP proxy server written in C (Edit: something that just forwards my requests). At this point I am having difficulty in understanding how to proceed.

Any help would be beneficial.

Answer

AJ. picture AJ. · Nov 14, 2009

Take a look at micro_proxy. It implements all the basic features of an HTTP/HTTPS proxy, in only 260 lines of C code.

Another very simple implementation can be found at Proxy.