https://github.com/colinhunt/operating-systems
A simple HTTP 1.1 concurrent file server written in C
https://github.com/colinhunt/operating-systems
Last synced: 4 months ago
JSON representation
A simple HTTP 1.1 concurrent file server written in C
- Host: GitHub
- URL: https://github.com/colinhunt/operating-systems
- Owner: colinhunt
- Created: 2014-11-05T21:45:48.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-25T15:56:47.000Z (over 9 years ago)
- Last Synced: 2025-01-21T15:15:56.746Z (6 months ago)
- Language: C
- Homepage:
- Size: 25.4 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# C File Server
A simple HTTP 1.1 concurrent file server written in C.This is a web server which implements a minimal subset of
the HTTP 1.1 protocol.## Build
Build the server using
make all## Run
The web server is started with three command line arguments../server_[f|p]
Specify `server_f` for the forking current handler, or `server_p` for the threaded handler.
The first argument is a TCP port on which it will listen to service requests made by clients.
The second argument is a directory from where the server serves documents to
the clients. The last argument is a log file in which the server logs all
transactions with all clients.