(Due to the workload I am forced to put this project on hold for a while, but I will definitely come back to it and make it usable)
Simple HTTP Server coded in C using winsocks. So far only usable for absolute basic needs. No support for UNIX compiling yet.
- Because the server is programmed in winsock there is no support for UNIX systems for now. Once the Windows version is stable and actually usable, UNIX support will be added as soon as possible
- I'm not a professional programmer, there are probably plenty of bugs and security vulnerabilities I don't know about. I plan to fix it, but I don't recommend using it as a main server, rather as a temporary solution.
- Any feedback is greatly appreciated
- Real-time requested file update
- Custom request redirects
- Opening files in folders
- More methods than just get
- Code optimization
- Get rid of vulnerabilities (that's not really possible is it)
- Add documentation
Clone this repository and then cd into it.
git clone https://github.com/o7raven/http-server/tree/main
cd http-server
The repository contains a Makefile, so just type make
and the program will compile. If you want to name the output, add the -o fileName
option to the end of the Makefile.
I would never have programmed this if I had nothing to learn from. Here are links to sites that I have used in my programming that have helped me
- ARC for receiving and creating custom requests
- Fiddler Classic for debugging server responses I can't think of more, but there are 100% more.