Commit Graph

696 Commits

Author SHA1 Message Date
goldsimon debf0134df Fixed compilation for LWIP_HTTPD_DYNAMIC_HEADERS==1, fixed a few warnings, changed the init code a bit 2010-05-16 16:18:39 +00:00
goldsimon 3e59a70f02 Added LWIP_HTTPD_CUSTOM_FILES to open files that are not included in fsdata.c 2010-05-16 16:15:15 +00:00
goldsimon 35b0b78242 Fix a compiler warning 2010-05-16 16:07:11 +00:00
goldsimon 3fa77d67be Use the new PP_HTONx macros 2010-05-16 16:05:41 +00:00
goldsimon 5e7c830745 Correctly initialize used_adapter to NULL 2010-05-16 16:05:26 +00:00
goldsimon 672f01f4e3 Fixed compilation for PING_USE_SOCKETS==0 2010-05-10 14:08:14 +00:00
goldsimon 48bb647dc2 Added pcapif that uses the (win)pcap library instead of the (undocumented) packet library. This makes it also usable under other OSes than win32 2010-04-26 20:08:13 +00:00
goldsimon e28cf98b4d Fix compilation with LWIP_NETIF_HOSTNAME==0 2010-04-14 14:32:48 +00:00
goldsimon 6eca921e70 If a COM port is used, set it to 115200/8N1 2010-04-02 15:20:17 +00:00
goldsimon 4b47d17a37 -f argument handler didn't copy the full filename ... :-) 2010-04-01 13:02:58 +00:00
goldsimon 62ea62ffc3 Fixed compiler warnings 2010-04-01 12:57:45 +00:00
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" 2010-04-01 12:49:08 +00:00
goldsimon 2689478bbb Fixed compilation under WIN32 (htons etc. was duplicate) 2010-04-01 12:25:46 +00:00
goldsimon 543490634b Added missing include directory 2010-04-01 12:24:56 +00:00
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) 2010-04-01 12:19:18 +00:00
goldsimon 4c42e56c7c Fix usage of memcpy (after moving from bcopy to memcpy in an attempt to write more portable code) 2010-03-31 08:07:07 +00:00
goldsimon 8d0e721c22 used memcpy instead of bcopy 2010-03-26 16:16:38 +00:00
goldsimon 57c1f7a16d Fixed compilation with LWIP_UDP/LWIP_TCP disabled 2010-03-26 16:10:32 +00:00
goldsimon 581b363d79 Make shell work with some or all stats disabled, too 2010-03-26 15:48:28 +00:00
goldsimon 64763950ca Fixed invalid assertion in error() 2010-03-26 14:44:20 +00:00
goldsimon e4ad203b0b sys_thread_new(): name is a const char* 2010-03-26 14:37:54 +00:00
goldsimon 12d42c5801 unixsim: enable more warnings and fix the newly found warnings in ports/unix 2010-03-26 14:20:39 +00:00
goldsimon c2f3fcc72a Set LWIP_HTTPD_STRNSTR_PRIVATE on by default, prevent old-style function declaration 2010-03-26 14:16:04 +00:00
goldsimon bafc19addd make some char-pointer-arrays const, add default cases on all switches 2010-03-26 14:11:55 +00:00
goldsimon d8f5406985 make udpecho_thread() static 2010-03-26 14:11:19 +00:00
goldsimon 9349f269e6 Remove duplicate prototype of httpd_init() 2010-03-26 14:10:50 +00:00
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 e6be4da29e Added etharp tests 2010-03-20 12:00:25 +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 2bb5d99ffc Moved lwipopts.h to include subdir, updated ignore lists 2010-03-15 10:40:59 +00:00
goldsimon 63363b1b89 disable conversion warning (implicit integer promotion!) 2010-03-15 10:38:08 +00:00
goldsimon c8baeec50a don't warn about union without name 2010-03-15 10:34:35 +00:00
goldsimon 9ae87c50d2 Fixed warning about unused local variable in release mode 2010-03-15 09:45:20 +00:00
goldsimon 05c30ba213 Speed up generating big files 2010-03-14 13:25:49 +00:00
goldsimon 1c7fae49a3 Fixed tx and rx for ETH_PAD_SIZE != 0 2010-03-14 11:02:38 +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 244e7eddd2 Changed pktif/pcap_helper again for portability 2010-03-10 11:43:47 +00:00
goldsimon b83a115953 Fixed compilation warnings (missing casts, includes, etc.) 2010-03-10 11:27:11 +00:00
goldsimon 5cb0d5848a oops, used non-lwIP typedefs... 2010-03-09 16:00:21 +00:00
goldsimon 2a5e096165 correct error messages 2010-03-09 10:52:35 +00:00
goldsimon be3fde3840 get_adapter_index_from_addr: correct return value if adapter not found 2010-03-09 10:52:25 +00:00