proxy

a reverse proxy written in C for forwarding network requests


Reverse Proxy

A small HTTP reverse proxy written in C using POSIX sockets.

Features

- IPv4 HTTP proxying
- Configurable upstream server
- GET and HEAD requests
- Fork-per-connection concurrency
- Partial read and write handling
- Basic HTTP error responses

Build

    make

Run

    ./proxy 8080 127.0.0.1 8000