Name: Anonymous 2010-08-08 22:26
make the smallest http server you can
List of things it need:
* HTTP 1.1
* 200 OK
* 404 Not Found
* Built-in 404 page [or user selectable]
* Some sort of _built-in_ scripting (ex. lua)
* Must be able to tell MIME type from file extension or contents
* Less than 1000 lines total (needs to be READABLE!)
* Doesn't use boost (fgts) or std (fgts). CRT is OK.
* Must be CONFIGURABLE [via command line or file]
* Only use standard sockets no SFML/boost/other [ie: winsock]
* Can be multi-client or be multi-threaded
List of things it need:
* HTTP 1.1
* 200 OK
* 404 Not Found
* Built-in 404 page [or user selectable]
* Some sort of _built-in_ scripting (ex. lua)
* Must be able to tell MIME type from file extension or contents
* Less than 1000 lines total (needs to be READABLE!)
* Doesn't use boost (fgts) or std (fgts). CRT is OK.
* Must be CONFIGURABLE [via command line or file]
* Only use standard sockets no SFML/boost/other [ie: winsock]
* Can be multi-client or be multi-threaded