Simon Goldschmidt
7546907c7b
makefsdata:
...
- fixed typo (struct ffblk, not fflbk);
- changed include path to be relative to lwip's 'include' dir
2011-11-25 17:59:09 +01:00
Simon Goldschmidt
d1bf1ee0da
httpd + makefsdata:
...
- 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;
2011-09-04 19:26:46 +02:00
goldsimon
cf57b51527
Adapted include path to inet_chksum.c
2011-07-06 07:15:13 +00:00
goldsimon
c0b51ff573
Fixed HTTP header for 400 (Bad Request) and 501 (Not Implemented)
2010-07-07 08:17:12 +00:00
goldsimon
4adc78384b
Minor: added newlines in console output
2010-07-05 14:21:50 +00:00
goldsimon
4b47d17a37
-f argument handler didn't copy the full filename ... :-)
2010-04-01 13:02:58 +00:00
goldsimon
62ea62ffc3
Fixed compiler warnings
2010-04-01 12:57:45 +00:00
goldsimon
30d352cec7
Don't include any directory starting with a dot (to not include my ".svn" directories), added parameter "-f:<filename>" to output to another file than the default "fsdata.c"
2010-04-01 12:49:08 +00:00
goldsimon
2689478bbb
Fixed compilation under WIN32 (htons etc. was duplicate)
2010-04-01 12:25:46 +00:00
goldsimon
93a0e58ea2
Added support for precalculated checksum and (pregenerated) HTTP/1.1 headers ("connection: close" and "content-length")
2010-03-18 06:34:35 +00:00
goldsimon
05c30ba213
Speed up generating big files
2010-03-14 13:25:49 +00:00
goldsimon
1f93022b83
Moved some parts of the HTTP-header related code to a new file to share it between httpd.c and makefsdata.c, regenerated fsdata.c
2010-02-19 16:20:25 +00:00
goldsimon
4ec673b17d
Merged httpd from TI Luminary: added basic SSI and CGI support, added support for dynamic HTTP header generation
2010-02-17 21:19:17 +00:00
goldsimon
9b45317f54
Fixed makefsdata portability (don't use backslash in include)
2010-01-20 20:51:05 +00:00
goldsimon
379e17565c
Moved 3 apps from unixsim/apps to contrib/apps (since they are by no means unix-specific)
2010-01-20 19:12:26 +00:00
goldsimon
268bb23f11
First parse subdirectories, then files (to get main directory to the front of the list)
2009-11-01 19:22:45 +00:00
goldsimon
e142aced6f
Added makefsdata ported to C (by Jim Pettinato, extended by me)
2009-11-01 18:27:22 +00:00