59 Commits (6d4e09ea3cdfac97d2a9cec991a8a99a55ef6ff3)

Author SHA1 Message Date
goldsimon 0007b4e6ba Multiple fixes found by coverity scan 12 years ago
Simon Goldschmidt bc4a7f92ad httpd: fix that http_write() returns 1 in "length" when not sending because of sndbuf/sndqueuelen 12 years ago
Simon Goldschmidt 16167a22ef Fixed bug #31948 httpd: Improving HTTP Server performance when SSI is enabled 12 years ago
Simon Goldschmidt 21e076cb56 patch #8097 httpd: Return failure if parsing Content-Length fails 12 years ago
Fatih Asici b7b6373ca5 httpd: Ignore remaining POST content in case of application error 12 years ago
Simon Goldschmidt f9147eb997 bug #37151 HTTP header corrupted in http_post_request 14 years ago
Simon Goldschmidt 6f002beae5 httpd: don't shadow globals ('abort' is declared under linux) 14 years ago
Simon Goldschmidt 3af14514dd httpd: use better default values: support HTTP request in up to 5 pbufs by default 14 years ago
Simon Goldschmidt 59c83ef10e httpd: ensure tcp_write() isn't called with len==0 14 years ago
goldsimon 8eb51799aa httpd: 14 years ago
Simon Goldschmidt 49fcad8f65 Fixed warning about unused http_continue() 14 years ago
goldsimon 5ab0be592b Prevent multiple calls to httpd_post_finished, since it might have already been called before from httpd_post_data_recved(). 14 years ago
Simon Goldschmidt d1bf1ee0da httpd + makefsdata: 15 years ago
Simon Goldschmidt 7413328273 Fix that connections are closed with RST if the HTTP requests didn't fit into the first packet (RST would be sent because not all data has been recved by the httpd - now we ensure all data has been read by waiting for the first double-CRLF before parsing the request) 15 years ago
goldsimon 32b341c04a Fix compiler warnings in debug macros 15 years ago
goldsimon b73187713f httpd: move some variables from rwdata- to rodata- or bss-section 15 years ago
kieranm c67a905dd9 Fix compile error in httpd.c 15 years ago
goldsimon 61cd545508 Improved debug output on sending data 16 years ago
goldsimon a679e2aec6 - strip '?' from all uris before passing them to fs_open; 16 years ago
goldsimon c0b51ff573 Fixed HTTP header for 400 (Bad Request) and 501 (Not Implemented) 16 years ago
goldsimon 5afec09b38 Fixed compilation for LWIP_HTTPD_POST_MANUAL_WND==0 16 years ago
goldsimon 19de161358 - added LWIP_HTTPD_SSI_INCLUDE_TAG (default on): when off, don't include the SSI tag in the output sent to clients (so SSI tags can be used anywhere, even in input boxes); 16 years ago
goldsimon c7acce523a fixed signed/unsigned comparision, fixed indentation 16 years ago
goldsimon 3a06d130c3 performance improvements: 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 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 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 111004caa9 Fixed compilation for CGI, SSI and DYNAMIC_HEADERS, renamed variables, added comments 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 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 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 6ce49364c5 Added many missing includes to <string.h> 17 years ago