Commit graph

17 commits

Author SHA1 Message Date
oliverschmidt 69b0727a6d There are no query strings or alike in the CFS web server so the file extensions have to be the actual end of the requested filename. 2010-04-06 12:03:18 +00:00
oliverschmidt 5c75b89ef7 Reduced code size by reducing the SEND_STRING call sites. 2010-04-06 11:49:47 +00:00
oliverschmidt 2a6f169e46 - Added yet another PETSCII->ASCII conversion, this time for the file name in case of a 404.
- Use all lowercase for the 404 message to avoid another PETSCII->ASCII conversion.
- Write logfile entries for all 404s.
- Adjust memory buffers on the C128 to accomodate for the items above.
2010-02-03 23:19:39 +00:00
adamdunkels 815468b442 Added missing argument to send_string() 2010-02-03 21:06:51 +00:00
adamdunkels 6fc0c73bac Reverted the recent addition of the directory listing: instead, a 404 is now sent to indicate that a notfound.html file is missing 2010-02-03 20:41:16 +00:00
adamdunkels e029cf489e When a file was not found, and no notfound.html was found, send directory contents instead 2010-02-02 18:17:55 +00:00
fros4943 51006b3f8d webserver bugfix, caused nightly wget test to fail:
* too many timer_reset will naively increase the start-time, even though timer has not expired. use timer_restart instead
2009-02-09 13:04:37 +00:00
oliverschmidt f5e7da082c Replaced '404.html' with 'notfound.html' as '404.html' is no valid filename for the Apple2 disk operating system ProDOS 8. 2008-02-21 09:25:54 +00:00
oliverschmidt b1e1f07f64 Yet another PETSCII<->ASCII issue solved - this time it caused failure to send the right content type. 2007-12-09 23:35:03 +00:00
oliverschmidt d2d85b4303 Avoid file handle leaks. 2007-12-01 21:27:48 +00:00
oliverschmidt 632240da25 Avoid memory block leaks (and minor code style adjustment). 2007-11-27 23:36:07 +00:00
oliverschmidt 74a6ee69e6 Allow to configure the maximum number of simultaneous connections to the cfs webserver. 2007-11-26 21:50:46 +00:00
oliverschmidt ac55fb90e7 Added PETSCII support. 2007-11-26 20:53:00 +00:00
oliverschmidt 54b8d7ec82 Increased number of simultanious connections from two to three, fixed / streamlined 404.html handling and added logging on tcp resets. 2007-11-22 11:25:08 +00:00
oliverschmidt 764b2738be Removed compiler warnings. 2007-11-18 02:54:45 +00:00
oliverschmidt 8ddbf4642b Made the webserver cfs support build and run. 2007-04-23 23:08:44 +00:00
adamdunkels c9e808d638 Import of the contiki-2.x development code from the SICS internal CVS server 2006-06-17 22:41:10 +00:00