About | Technologies | Requirements | Starting | Testing | License | Author
This project is about writing an HTTP server.
You will be able to test it with an actual browser.
HTTP is one of the most used protocols on the internet.
Knowing its arcane will be useful, even if you won’t be working on a website.
The following tools were used in this project:
Before starting, you need to have Git installed.
# Clone this project
git clone https://github.com/42vogons/webserv
# Access
cd webserv
# Compile the project
make
# Run the project
./webserv
# The server will initialize in the <http://localhost:8080>
# Access the test dir
cd testers
# Execute shell test
bash test.sh
# Access the concurrent_requests test dir
cd testers/concurrent_requests
# Execute concurrent_requests test
go run concurrent_requests.go [concurrentRequests] [serverURL]
# Example
go run concurrent_requests.go 999 http://localhost:8080
# or (using the compiled file - if you don't have go installed in your machine)
./concurrent_requests [concurrentRequests] [serverURL]
# Example
./concurrent_requests 999 http://localhost:8080
This project is under license from MIT. For more details, see the LICENSE file.