Skip to content

demadabbagh/web-server-threadpool

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Web Server with Thread Pool (C)

This project implements a multithreaded web server in C using a thread pool.

Features

  • Handles HTTP GET requests
  • Serves static files
  • Supports directory listing
  • Error handling (400, 403, 404, 500, 501)
  • Thread pool for handling multiple clients concurrently

Files

  • server.c
  • threadpool.c
  • threadpool.h

Description

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.

How to Compile

gcc server.c threadpool.c -o server -lpthread

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages