Skip to content

adityaxxz/multithreaded-web-server

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Multi-Threaded Web Server

Implementation : rust-book.cs.brown.edu

Crates.io

A simple, multi-threaded web server implemented in Rust.

Features

  • Multi-threaded architecture using a thread pool.
  • TCP listener for handling incoming connections.
  • Serves static HTML files (index.html, 404.html).
  • Basic HTTP response formatting.

Usage

Prerequisite is to install rust-lang using rustup

  1. Clone the repository
       git clone https://github.com/adityaxxz/multithreaded-web-server.git
       cd multithreaded-web-server
    
  2. Run the server:
       cargo run
    
  3. Access the server at http://localhost:7878

2024-09-04 12-06-56

Contributing

Contributions are welcome! Please submit a pull request or create an issue for any bugs or feature requests.

Packages

No packages published