59 Commits (90d5a61e85f28ebe0bb9d2178cfb1fa206d801ff)

Author SHA1 Message Date
goldsimon c7acce523a fixed signed/unsigned comparision, fixed indentation 16 years ago
goldsimon 3a06d130c3 performance improvements: 16 years ago
goldsimon 2de3924493 Added missing #if LWIP_HTTPD_CUSTOM_FILES 16 years ago
goldsimon debf0134df Fixed compilation for LWIP_HTTPD_DYNAMIC_HEADERS==1, fixed a few warnings, changed the init code a bit 16 years ago
goldsimon 3e59a70f02 Added LWIP_HTTPD_CUSTOM_FILES to open files that are not included in fsdata.c 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 9db401aa63 Added HTTPD_USE_CUSTUM_FSDATA to include "fsdata_custom.c" instead of "fsdata.c" for the file system (to prevent changing the file included in CVS) 16 years ago
goldsimon 57c1f7a16d Fixed compilation with LWIP_UDP/LWIP_TCP disabled 16 years ago
goldsimon c2f3fcc72a Set LWIP_HTTPD_STRNSTR_PRIVATE on by default, prevent old-style function declaration 16 years ago
goldsimon 9349f269e6 Remove duplicate prototype of httpd_init() 16 years ago
goldsimon fbee0f5c56 Don't limit maximum body length in post, added TRACE to some debug outputs 16 years ago
goldsimon 321578fd14 Fixed compilation: removed extra tokens after #endif, which MSVC doesn't complain about :-( 16 years ago
goldsimon 71b0d509dc minor coding style: strnstr: added brackets 16 years ago
goldsimon 7ea6692cdb Don't call tcp_close right after all data is enqueue, since this may result in resetting the connection (because of task #10088) 16 years ago
goldsimon 75d9fdc5c7 Initialize the listen pcb's prio correctly, added missing cast and include, http_poll: don't check for pcb->state 16 years ago
goldsimon 0035c0f119 Added support for POST, HTTP/0.9 and extended status files (e.g. "/501.html") 16 years ago
goldsimon 298991e83b Added option LWIP_HTTPD_SUPPORT_EXTSTATUS 16 years ago
goldsimon f779310da6 Support request that are spanned over multiple packets/pbufs (disabled by default to save space), use memcpy instead of snprintf 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 111004caa9 Fixed compilation for CGI, SSI and DYNAMIC_HEADERS, renamed variables, added comments 16 years ago
goldsimon 05c30ba213 Speed up generating big files 16 years ago
goldsimon 3a30b8350d Use tcp_mss(pcb) instead of pcb->mss; only call tcp_output from http_poll 16 years ago
goldsimon 3f79779a0f Added connection timing, changed default definition of HTTP_IS_DATA_VOLATILE() to not copy data when sending from unmodified files 16 years ago
goldsimon b83a115953 Fixed compilation warnings (missing casts, includes, etc.) 16 years ago
goldsimon e97f6e1909 Improved code size & memory footprint when LWIP_HTTPD_SSI==0 && LWIP_HTTPD_DYNAMIC_HEADERS==0 16 years ago
goldsimon 6bb0cded4f For LWIP_HTTPD_DYNAMIC_HEADERS==1, skip get_http_headers() if http_header_included 16 years ago
goldsimon 2a41542edb LWIP_HTTPD_DYNAMIC_HEADERS defaults to 0 16 years ago
goldsimon 0b541d8f0a HTTPD_DEBUG defaults to off 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 892859455c bug #28659: Missing casts 16 years ago
goldsimon faf826ad6d bug #26523: Compiler Warnings 16 years ago
goldsimon d20a5e8b29 Fixed warnings and wrong asserts 16 years ago
goldsimon 9b45317f54 Fixed makefsdata portability (don't use backslash in include) 16 years ago
goldsimon 379e17565c Moved 3 apps from unixsim/apps to contrib/apps (since they are by no means unix-specific) 16 years ago
goldsimon afa884b61f remove 'const' from 'int len' -> not necessary 16 years ago
goldsimon 4dac3ab5f6 Fixed compiling httpd without user-specified memp-pool 17 years ago
goldsimon 9e338b8ff2 Restructured http: made more robust, added logging, removed printf, commented, prepared for files that don't include HTTP response header 17 years ago
goldsimon c43d077828 Add support to files that don't include HTTP response header 17 years ago
goldsimon b9113fe615 Added documentation 17 years ago
goldsimon 1a265b5373 Update fsdata (generated by makefsdata) 17 years ago
goldsimon 268bb23f11 First parse subdirectories, then files (to get main directory to the front of the list) 17 years ago
goldsimon e4442f02da Added html source files for httpd 17 years ago
goldsimon 5131ebd938 Added support for makefsdata 17 years ago
goldsimon e142aced6f Added makefsdata ported to C (by Jim Pettinato, extended by me) 17 years ago
goldsimon 6ce49364c5 Added many missing includes to <string.h> 17 years ago
goldsimon 726953e7f3 http_accept(): arg is not unused any more, thanks Bill 17 years ago