Skip to content

a client side explicit proxy server with in memory cache in c language.

Notifications You must be signed in to change notification settings

nishaYO/proxy_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multithreaded Proxy Server in C

A simple multithreaded proxy server built in C to deepen understanding of C, networking, and HTTP😁

Features

  • Supports HTTP/1.1 protocol
  • Handles multiple concurrent requests using multithreading
  • Implements basic request forwarding with support for libcurl and llhttp

How to Run Locally

1. Compile and Start the Proxy Server

gcc main.c -o main -I/usr/include/x86_64-linux-gnu -L/usr/local/lib -lllhttp -lcurl
./main

2. Run the Client to Send Requests

Open a new terminal and execute:

chmod +x multiclientreqs.sh && ./multiclientreqs.sh

About

a client side explicit proxy server with in memory cache in c language.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published