53 Commits (62ea62ffc315617d30fbdb481b55796088bd1d95)

Author SHA1 Message Date
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
goldsimon 4a5c399e7d Fixed my last checkin that fixed bug #27117: "httpserver_raw sample does not call tcp_accepted()" accidentally called tcp_accepted() on the connection-pcb, not the listen-pcb 17 years ago
goldsimon 47521ce2bc fixed bug #27117: httpserver_raw sample does not call tcp_accepted() 17 years ago
goldsimon 0f06910f66 Fixed bug #25705 (memory leak in httpserver_raw when aborting connection) 17 years ago
goldsimon d0b500244b ~patch #6459: Changed file name variables to const; changed file size in httpd from u16_t to u32_t to allow file sizes > 64KB (fsdata.c file size is int) 18 years ago
jifl 19cd8d9d9a * httpd.c: Fix warnings on some systems with mem_malloc. 18 years ago
fbernon 0ed511d380 Minor changes in contrib folder: fix some warnings 18 years ago