Proxy C library for HTTP/s protocol
Kevin Jerebica
5dcc4c8bf7
Also fix some new bugs that showed up. Proxying now works with HTTP websites but only the ones which serve their content through the content-length HTTP header field |
||
---|---|---|
parslib@55835087d3 | ||
.gitignore | ||
.gitmodules | ||
Makefile | ||
proxlib | ||
proxlib.c | ||
proxlib.h | ||
README |
+=============+ | proxlib | +=============+ Proxy C library for HTTP/s protocol RFC: datatracker.ietf.org/doc/html/rfc1945 RES: cs.princeton.edu/courses/archive/spr13/cos461/assignments-proxy.html RES: Beej's Guide to Network Programming - Using Internet Sockets RES: en.wikipedia.org/wiki/Proxy_server RES: TCP/IP sockets in C - Practical guide for programmers 2nd edition TECHNICALS Parsing is carried by a sub-library which I wrote named parslib. TODO * Connect with parslib * Parse port out of Host header (default_value:80) * Implement server message parsing * Verify and search for memory leaks * More testing, debugging, fixing * Implement HTTPS with OpenSSL COMMITS Each commit is prefixed with an indicator token of what the change is *mostly* about. List of tokens is: * init: change initialized the repository * repo: change is about the repository in general * proxy: change is about the proxy in general * logic: change is about proxy logic - parsing, forwarding, ... * fix: change is about fixing a bug or TODO