Skip to content

AlRodriguezGar14/http_server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

33 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This is a multithread HTTP server implemented in C. It is a solution to the CodeCrafters.io challenge to build an HTTP server.

The server is capable of serving multiple clients simultaneously thanks to the POSIX threads library; where each client has its own thread. To avoid memory leaks, the server uses thread pools, memory pools and a linked list to store the data and free it when the execution is done. The server can serve static files, and handles GET and POST requests.

Disclaimer: I am not responsible for any misuse of this code. This code is intended for educational purposes only.

progress-banner

About

Multi-thread HTTP Server written in C.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published