Skip to content

freepentests/CHTTPServ

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CHTTPServ


A multithreaded HTTP server written using pthreads and the C POSIX socket API.

How to use:

  • Clone this repository
  • Change the port number in main.c
  • Copy your website's files to the static directory
  • Compile main.c
  • Run the program and visit http://127.0.0.1:port to verify it's working.

⚠️ To get SSL, you should to use a reverse proxy such as nginx.

⚠️ This code probably has a lot of bugs and shouldn't be used in production, since it is just a learning project.

About

A multithreaded HTTP server written using the C POSIX socket API and pthreads.

Resources

License

Stars

0 stars

Watchers

0 watching

Forks

Releases

No releases published

Packages

 
 
 

Contributors