This project implements a multithreaded web server in C using a thread pool.
- Handles HTTP GET requests
- Serves static files
- Supports directory listing
- Error handling (400, 403, 404, 500, 501)
- Thread pool for handling multiple clients concurrently
- server.c
- threadpool.c
- threadpool.h
The server accepts incoming client connections and assigns each request to a thread from the thread pool. This allows efficient handling of multiple clients at the same time.
gcc server.c threadpool.c -o server -lpthread