Basic HTTP server that supports HTTP/1.1 in C++
- Clone this repo to your local directory
- Run workingserver.cpp with
g++ workingserver.cpp -o workingserver
in the directory - Run
./workingserver
- Terminal should show that it is waiting for connection
- Go to google chrome and type in the following link: http://localhost:8080/info.html
- This will request from the server through port 8080 the file: info.html
- The server should return the specified web page that you requested
- HTTP request header will be present in your terminal
- I tried to solve the issue of handling at least 10,000 concurrent connections and serving at least 100,000 requests per second
in the second file:
serverside1.cpp
Thank you.