Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: about 1 month 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 (about 10 years ago)
- Default Branch: master
- Last Pushed: 2016-03-25T15:56:47.000Z (over 8 years ago)
- Last Synced: 2023-02-26T07:31:17.218Z (almost 2 years 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.