Skip to content

haari0890/Multithreaded-Webserver

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

MYHTTPD Multithreaded Webserver:

Steps to run the server:
1) To compile the C program type in the MAKE keyword from that directory in the terminal.
2) To execute the server program type in ./myhttpd followed by the arguments. Eg: ./myhttpd -s SJF -d -t 15 -p 8000
3) Get statement and the head statements can be executed from another terminal or client after connecting the user. A filename follows the get/head keyword.
4) For Debugger mode start the server with the "-D" flag as the arguments. This will accept only one request from the client and exits the server program.
5) For help menu type "-H" as arguments from the terminal while executing the program.
6) Default Setting- 4 Threads, FCFS policy, 60 second waiting time, Port number: 8080, No Logging.
7) To enable logging to the file use -l argument followed by the path of the logging file name.

About

Multithreaded web server using C in Linux

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors