Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jimexist/conc_server
concurrent server in C
https://github.com/jimexist/conc_server
Last synced: 24 days ago
JSON representation
concurrent server in C
- Host: GitHub
- URL: https://github.com/jimexist/conc_server
- Owner: jimexist
- License: mit
- Created: 2015-02-22T04:04:45.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2015-02-22T04:37:46.000Z (over 9 years ago)
- Last Synced: 2024-10-04T10:10:39.307Z (about 1 month ago)
- Language: C
- Homepage:
- Size: 188 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README
- License: LICENSE
Awesome Lists containing this project
README
Tiny Web server
Dave O'Hallaron
Carnegie Mellon UniversityThis is the home directory for the Tiny server, a 200-line Web
server that we use in "15-213: Intro to Computer Systems" at Carnegie
Mellon University. Tiny uses the GET method to serve static content
(text, HTML, GIF, and JPG files) out of ./ and to serve dynamic
content by running CGI programs out of ./cgi-bin. The default
page is home.html (rather than index.html) so that we can view
the contents of the directory from a browser.Tiny is neither secure nor complete, but it gives students an
idea of how a real Web server works. Use for instructional purposes only.The code compiles and runs cleanly using gcc 2.95.3
on a Linux 2.2.20 kernel.To install Tiny:
Type "tar xvf tiny.tar" in a clean directory.To run Tiny:
Run "tiny " on the server machine,
e.g., "tiny 8000".
Point your browser at Tiny:
static content: http://:8000
dynamic content: http://:8000/cgi-bin/adder?1&2Files:
tiny.tar Archive of everything in this directory
tiny.c The Tiny server
Makefile Makefile for tiny.c
home.html Test HTML page
godzilla.gif Image embedded in home.html
README This file
cgi-bin/adder.c CGI program that adds two numbers
cgi-bin/Makefile Makefile for adder.c