Simon Goldschmidt
1e04deb667
makefsdata.c: minimal check if given path is OK
12 years ago
goldsimon
dc27bc8c07
makefsdata: don't use FindFirstFile to see if a directory exist but CHDIR() to it directly
12 years ago
Simon Goldschmidt
9f6dc6ad94
makefsdata: tried to fix another warning from static code analysis
12 years ago
goldsimon
0007b4e6ba
Multiple fixes found by coverity scan
12 years ago
Simon Goldschmidt
ec429c725a
Fixed bug #36374 makefsdata.exe can't handle files with non-C characters (allow only 'A-Z', 'a-z', '0-9' and '_' for C variable names)
14 years ago
Simon Goldschmidt
7546907c7b
makefsdata:
...
- fixed typo (struct ffblk, not fflbk);
- changed include path to be relative to lwip's 'include' dir
15 years ago
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;
15 years ago
goldsimon
cf57b51527
Adapted include path to inet_chksum.c
15 years ago
goldsimon
c0b51ff573
Fixed HTTP header for 400 (Bad Request) and 501 (Not Implemented)
16 years ago
goldsimon
4adc78384b
Minor: added newlines in console output
16 years ago
goldsimon
4b47d17a37
-f argument handler didn't copy the full filename ... :-)
16 years ago
goldsimon
62ea62ffc3
Fixed compiler warnings
16 years ago
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"
16 years ago
goldsimon
2689478bbb
Fixed compilation under WIN32 (htons etc. was duplicate)
16 years ago
goldsimon
93a0e58ea2
Added support for precalculated checksum and (pregenerated) HTTP/1.1 headers ("connection: close" and "content-length")
16 years ago
goldsimon
05c30ba213
Speed up generating big files
16 years ago
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
16 years ago
goldsimon
4ec673b17d
Merged httpd from TI Luminary: added basic SSI and CGI support, added support for dynamic HTTP header generation
16 years ago
goldsimon
9b45317f54
Fixed makefsdata portability (don't use backslash in include)
16 years ago
goldsimon
268bb23f11
First parse subdirectories, then files (to get main directory to the front of the list)
17 years ago
goldsimon
e142aced6f
Added makefsdata ported to C (by Jim Pettinato, extended by me)
17 years ago