mirror of
https://github.com/ep00ch/lwip-contrib-mac.git
synced 2024-10-12 08:23:42 +00:00
d1bf1ee0da
- added delayed open/read functionality (so that SSI code can delay sending of a file until internal data is available); - clean up fs-handling: additional read is not required with our current fs implementation; - kill oldest connection when running out of http_state memory; - splitted SSI state into its own struct so that non-SSI pages don't consume too much memory (SSI buffer can get quit big); - added support for HTTP/1.1 persistent connections (use the '-11' switch of makefsdata; not available for SSI files since we cannot calculate the file length in advance); - splitted the unreadably-long function http_send_data into multiple smaller functions; |
||
---|---|---|
.. | ||
makefsdata | ||
makefsdata.c | ||
readme.txt |
This directory contains a script ('makefsdata') to create C code suitable for httpd for given html pages (or other files) in a directory. There is also a plain C console application doing the same and extended a bit. Usage: htmlgen [targetdir] [-s] [-i]s targetdir: relative or absolute path to files to convert switch -s: toggle processing of subdirectories (default is on) switch -e: exclude HTTP header from file (header is created at runtime, default is on) switch -11: include HTTP 1.1 header (1.0 is default) if targetdir not specified, makefsdata will attempt to process files in subdirectory 'fs'.