Commit Graph

46 Commits

Author SHA1 Message Date
goldsimon
fbee0f5c56 Don't limit maximum body length in post, added TRACE to some debug outputs 2010-03-26 13:42:37 +00:00
goldsimon
321578fd14 Fixed compilation: removed extra tokens after #endif, which MSVC doesn't complain about :-( 2010-03-25 10:32:12 +00:00
goldsimon
71b0d509dc minor coding style: strnstr: added brackets 2010-03-22 15:48:23 +00:00
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) 2010-03-22 12:26:40 +00:00
goldsimon
75d9fdc5c7 Initialize the listen pcb's prio correctly, added missing cast and include, http_poll: don't check for pcb->state 2010-03-22 10:07:36 +00:00
goldsimon
0035c0f119 Added support for POST, HTTP/0.9 and extended status files (e.g. "/501.html") 2010-03-21 15:42:59 +00:00
goldsimon
298991e83b Added option LWIP_HTTPD_SUPPORT_EXTSTATUS 2010-03-20 13:50:26 +00:00
goldsimon
f779310da6 Support request that are spanned over multiple packets/pbufs (disabled by default to save space), use memcpy instead of snprintf 2010-03-20 13:35:53 +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
111004caa9 Fixed compilation for CGI, SSI and DYNAMIC_HEADERS, renamed variables, added comments 2010-03-18 06:31:18 +00:00
goldsimon
05c30ba213 Speed up generating big files 2010-03-14 13:25:49 +00:00
goldsimon
3a30b8350d Use tcp_mss(pcb) instead of pcb->mss; only call tcp_output from http_poll 2010-03-13 15:02:22 +00:00
goldsimon
3f79779a0f Added connection timing, changed default definition of HTTP_IS_DATA_VOLATILE() to not copy data when sending from unmodified files 2010-03-12 19:26:57 +00:00
goldsimon
b83a115953 Fixed compilation warnings (missing casts, includes, etc.) 2010-03-10 11:27:11 +00:00
goldsimon
e97f6e1909 Improved code size & memory footprint when LWIP_HTTPD_SSI==0 && LWIP_HTTPD_DYNAMIC_HEADERS==0 2010-03-08 18:58:21 +00:00
goldsimon
6bb0cded4f For LWIP_HTTPD_DYNAMIC_HEADERS==1, skip get_http_headers() if http_header_included 2010-02-24 11:51:05 +00:00
goldsimon
2a41542edb LWIP_HTTPD_DYNAMIC_HEADERS defaults to 0 2010-02-20 17:48:57 +00:00
goldsimon
0b541d8f0a HTTPD_DEBUG defaults to off 2010-02-20 17:48:43 +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
892859455c bug #28659: Missing casts 2010-01-25 08:20:46 +00:00
goldsimon
faf826ad6d bug #26523: Compiler Warnings 2010-01-24 10:09:57 +00:00
goldsimon
d20a5e8b29 Fixed warnings and wrong asserts 2010-01-21 07:30: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
afa884b61f remove 'const' from 'int len' -> not necessary 2010-01-18 09:27:46 +00:00
goldsimon
4dac3ab5f6 Fixed compiling httpd without user-specified memp-pool 2009-12-05 14:21:01 +00:00
goldsimon
9e338b8ff2 Restructured http: made more robust, added logging, removed printf, commented, prepared for files that don't include HTTP response header 2009-11-01 21:16:46 +00:00
goldsimon
c43d077828 Add support to files that don't include HTTP response header 2009-11-01 21:00:43 +00:00
goldsimon
b9113fe615 Added documentation 2009-11-01 20:58:22 +00:00
goldsimon
1a265b5373 Update fsdata (generated by makefsdata) 2009-11-01 19:23:12 +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
e4442f02da Added html source files for httpd 2009-11-01 18:30:06 +00:00
goldsimon
5131ebd938 Added support for makefsdata 2009-11-01 18:29:08 +00:00
goldsimon
e142aced6f Added makefsdata ported to C (by Jim Pettinato, extended by me) 2009-11-01 18:27:22 +00:00
goldsimon
6ce49364c5 Added many missing includes to <string.h> 2009-08-11 14:34:28 +00:00
goldsimon
726953e7f3 http_accept(): arg is not unused any more, thanks Bill 2009-07-28 18:08:42 +00:00
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 2009-07-28 17:38:30 +00:00
goldsimon
47521ce2bc fixed bug #27117: httpserver_raw sample does not call tcp_accepted() 2009-07-27 15:10:39 +00:00
goldsimon
0f06910f66 Fixed bug #25705 (memory leak in httpserver_raw when aborting connection) 2009-03-01 17:50:06 +00:00
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) 2008-03-27 18:33:18 +00:00
jifl
19cd8d9d9a * httpd.c: Fix warnings on some systems with mem_malloc. 2008-03-04 16:40:50 +00:00
fbernon
0ed511d380 Minor changes in contrib folder: fix some warnings 2008-01-04 22:49:56 +00:00
fbernon
f2e2f7bf05 Minor changes: remove tabs 2007-12-14 21:52:55 +00:00
fbernon
907c0967d0 Minor changes: remove tabs 2007-12-02 23:48:41 +00:00
goldsimon
fe5e7bd541 Moved raw httpd and netio test apps from ports/msvc6 to apps 2007-10-01 20:48:42 +00:00