Skip to content

42vogons/webserv

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Webserv

Github top language Github language count Repository size License

About   |   Technologies   |   Requirements   |   Starting   |   Testing   |   License   |   Author


About

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.

Technologies

The following tools were used in this project:

Requirements

Before starting, you need to have Git installed.

Starting

# 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>

Testing

# 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

License

This project is under license from MIT. For more details, see the LICENSE file.

 

Back to top

About

This is when you finally understand why a URL starts with HTTP

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published