Commit Graph

  • cac420aec5 pcapif: remove trailing spaces from adapter names, deleted old (unused) files Simon Goldschmidt 2011-10-21 20:03:37 +0200
  • a412496558 SMTP: disable compilation when LWIP_TCP is disabled goldsimon 2011-10-21 13:28:01 +0200
  • b9eba2dc8e Merge branch 'master' of git.sv.gnu.org:/srv/git/lwip/lwip-contrib Simon Goldschmidt 2011-10-18 20:14:28 +0200
  • 7b92f34341 sys_now() should work for NO_SYS, too (where sys_init() is not called) Simon Goldschmidt 2011-10-18 20:14:05 +0200
  • eaf034149e Fixed bug #34582 missing limits.h for unix arch (needed for default value "INT_MAX" of RECV_BUFSIZE_DEFAULT) goldsimon 2011-10-18 10:36:38 +0200
  • bdcf5c1ef9 fixed msvc project files for compiling/running unit tests goldsimon 2011-10-11 09:17:26 +0200
  • eee1d67e7a Patch by Gisle Vanem: fix Win32 port for MinGW Simon Goldschmidt 2011-09-29 21:43:53 +0200
  • 288914b5c0 ping: fixed input pbuf processing when using raw API (check p->tot_len before calling pbuf_header) Simon Goldschmidt 2011-09-22 21:12:06 +0200
  • 52aa714af2 Changed PBUF_POOL_SIZE to not break the sanity checks in init.c Simon Goldschmidt 2011-09-21 18:52:33 +0200
  • c662bb3aa3 win32 port: fixed compilation of test.c, added ppp_impl.h to project goldsimon 2011-09-13 07:54:33 +0200
  • e3bcc2fe4e pcapif: added the possibility to instantiate more than one pcap driver by passing the adapter index as 'state' to netif_add() Simon Goldschmidt 2011-09-11 12:49:57 +0200
  • 7f3c08494a Win32 sys_init(): initialize the random seed (or we use the same random values for every process) Simon Goldschmidt 2011-09-11 12:46:18 +0200
  • d1bf1ee0da httpd + makefsdata: - added delayed open/read functionality (so that SSI code can delay sending of a file until internal data is available); - clean up fs-handling: additional read is not required with our current fs implementation; - kill oldest connection when running out of http_state memory; - splitted SSI state into its own struct so that non-SSI pages don't consume too much memory (SSI buffer can get quit big); - added support for HTTP/1.1 persistent connections (use the '-11' switch of makefsdata; not available for SSI files since we cannot calculate the file length in advance); - splitted the unreadably-long function http_send_data into multiple smaller functions; Simon Goldschmidt 2011-09-04 19:26:46 +0200
  • 227475a45e win32 port: added 3 new defines so that I have less local diffs when testing, print out link-local-IPv6-address if LWIP_IPV6==1 Simon Goldschmidt 2011-09-02 22:31:05 +0200
  • ff50e469a5 fixed VS version Simon Goldschmidt 2011-09-02 22:14:59 +0200
  • a0c771ba9b VS projects: removed VCWebDeploymentTool (warnings when upgrading), added smtp.c/.h Simon Goldschmidt 2011-09-02 22:13:58 +0200
  • 69b3e7a03c pcapif: added IPv6 support, use pcap_next() instead of pcap_poll(), changed occurrences of the string 'pktif' to 'pcapif' Simon Goldschmidt 2011-09-02 22:10:26 +0200
  • 198c2a2082 Deleted old pktif, since we have a working pcapif Simon Goldschmidt 2011-09-02 22:09:14 +0200
  • 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) Simon Goldschmidt 2011-09-02 22:02:45 +0200
  • 08119c678c Create link-local addresses in all unix projects if LWIP_IPV6==1 Simon Goldschmidt 2011-09-02 21:53:12 +0200
  • 82031caa3c Fixed bug #34170 Memory leak in sntp_send_request() (pbuf used for request was sent to udp but never freed) Simon Goldschmidt 2011-09-01 21:08:11 +0200
  • 74848e8b3e Win32: fixed structure member alignment in project settings, updated ignore lists goldsimon 2011-08-30 13:14:03 +0200
  • 9a6e57fdbe Added my smtp client using the lwIP raw API Simon Goldschmidt 2011-08-24 23:27:16 +0200
  • bce6087f47 Merge branch 'master' of git.sv.gnu.org:/srv/git/lwip/lwip-contrib Simon Goldschmidt 2011-08-24 22:53:49 +0200
  • 1494ad3919 Added IPv6 support to unix tapif driver: patch by Dan Pomohaci, couldn't test it, yet :-( Simon Goldschmidt 2011-08-24 20:00:08 +0200
  • 4ebfe86430 fix use of inet_chksum_pseudo in unixsim Kieran Mansley 2011-07-29 13:38:53 +0100
  • 2f3fdb4c97 Tried to fix the unix port projects after adding IPv6 Simon Goldschmidt 2011-07-28 21:55:53 +0200
  • 32b341c04a Fix compiler warnings in debug macros goldsimon 2011-07-06 08:37:01 +0000
  • cf57b51527 Adapted include path to inet_chksum.c goldsimon 2011-07-06 07:15:13 +0000
  • 87a03a8aad ... and changed some more files goldsimon 2011-07-06 07:14:35 +0000
  • c2b8b721e3 Fix VisualStudio project files after adding IPv6 goldsimon 2011-07-06 07:07:52 +0000
  • b73187713f httpd: move some variables from rwdata- to rodata- or bss-section goldsimon 2011-03-27 13:07:48 +0000
  • 1c84fa5e5d Added unsigned modifier 'U' to defined constants goldsimon 2011-02-18 13:24:21 +0000
  • c67a905dd9 Fix compile error in httpd.c kieranm 2011-02-03 12:44:15 +0000
  • 61cd545508 Improved debug output on sending data goldsimon 2010-11-20 17:29:35 +0000
  • dc0cd64e63 Fix compilation warnings (due to undefined defines) goldsimon 2010-09-30 10:41:09 +0000
  • a679e2aec6 - strip '?' from all uris before passing them to fs_open; - http_close_conn must handle hs==NULL correctly (when called from http_poll); - added LWIP_HTTPD_ABORT_ON_CLOSE_MEM_ERROR to call tcp_abort when tcp_close fails with out-of-memory error; - httpd_init checks if the memp pool MEMP_HTTPD_STATE is big enough if HTTPD_USE_MEM_POOL==1 goldsimon 2010-07-19 14:26:36 +0000
  • 9c86a78404 Set netif->flags appropriate for Ethernet device kieranm 2010-07-16 12:49:02 +0000
  • c0b51ff573 Fixed HTTP header for 400 (Bad Request) and 501 (Not Implemented) goldsimon 2010-07-07 08:17:12 +0000
  • 5afec09b38 Fixed compilation for LWIP_HTTPD_POST_MANUAL_WND==0 goldsimon 2010-07-06 20:24:36 +0000
  • 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); - fixed copy/nocopy for SSI files; - added LWIP_HTTPD_SSI_MULTIPART (default off): when on, SSI functions have one more argument that is used as state for an SSI tag to return more than LWIP_HTTPD_MAX_TAG_INSERT_LEN bytes (the handler function is then called multiple times); - added LWIP_HTTPD_POST_MANUAL_WND (default off): when on, post callbacks can throttle RX speed by manually sending window updates (i.e. tcp_recved is called manually by calling httpd_post_data_recved); - added LWIP_HTTPD_FILE_STATE (default off): when on, fs_open/fs_close call application defined functions fs_state_init/fs_state_free (fs_state_init returns a void pointer that is passed to every call to an SSI handler); - compacted the code a bit by moving the code that calls tcp_write() in a loop to its own function; - error files may have the extension shtml, too; - fixed that returning default 404 page did not work any more; goldsimon 2010-07-05 14:32:24 +0000
  • 4adc78384b Minor: added newlines in console output goldsimon 2010-07-05 14:21:50 +0000
  • 90d5a61e85 In some cases, pcap_findalldevs_ex needs the correct source to find local devices goldsimon 2010-07-05 14:10:07 +0000
  • c932196e11 Remove definition of function that isn't used kieranm 2010-06-28 13:46:45 +0000
  • 0d1f02f931 Don't use local variable index as it clashes with global string.h define kieranm 2010-06-28 13:46:17 +0000
  • bcf978f58d fixed compiler warning: use size_t, not int goldsimon 2010-06-25 18:42:17 +0000
  • 04cbdfe912 Use the packed version of ip_addr_t in struct netbios_name_hdr goldsimon 2010-06-14 16:04:57 +0000
  • c7acce523a fixed signed/unsigned comparision, fixed indentation goldsimon 2010-05-17 12:19:42 +0000
  • 3a06d130c3 performance improvements: - don't stop sending after inserting a tag (leads to delayed ACKs); - enqueue FIN in last data packet; fix usage of tcp_close() after correcting close vs. shutdown goldsimon 2010-05-17 11:20:59 +0000
  • 2de3924493 Added missing #if LWIP_HTTPD_CUSTOM_FILES goldsimon 2010-05-17 11:07:43 +0000
  • debf0134df Fixed compilation for LWIP_HTTPD_DYNAMIC_HEADERS==1, fixed a few warnings, changed the init code a bit goldsimon 2010-05-16 16:18:39 +0000
  • 3e59a70f02 Added LWIP_HTTPD_CUSTOM_FILES to open files that are not included in fsdata.c goldsimon 2010-05-16 16:15:15 +0000
  • 35b0b78242 Fix a compiler warning goldsimon 2010-05-16 16:07:11 +0000
  • 3fa77d67be Use the new PP_HTONx macros goldsimon 2010-05-16 16:05:41 +0000
  • 5e7c830745 Correctly initialize used_adapter to NULL goldsimon 2010-05-16 16:05:26 +0000
  • 672f01f4e3 Fixed compilation for PING_USE_SOCKETS==0 goldsimon 2010-05-10 14:08:14 +0000
  • 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 goldsimon 2010-04-26 20:08:13 +0000
  • e28cf98b4d Fix compilation with LWIP_NETIF_HOSTNAME==0 goldsimon 2010-04-14 14:32:48 +0000
  • 6eca921e70 If a COM port is used, set it to 115200/8N1 goldsimon 2010-04-02 15:20:17 +0000
  • 4b47d17a37 -f argument handler didn't copy the full filename ... :-) goldsimon 2010-04-01 13:02:58 +0000
  • 62ea62ffc3 Fixed compiler warnings goldsimon 2010-04-01 12:57:45 +0000
  • 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" goldsimon 2010-04-01 12:49:08 +0000
  • 2689478bbb Fixed compilation under WIN32 (htons etc. was duplicate) goldsimon 2010-04-01 12:25:46 +0000
  • 543490634b Added missing include directory goldsimon 2010-04-01 12:24:56 +0000
  • 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) goldsimon 2010-04-01 12:19:18 +0000
  • 4c42e56c7c Fix usage of memcpy (after moving from bcopy to memcpy in an attempt to write more portable code) goldsimon 2010-03-31 08:07:07 +0000
  • 8d0e721c22 used memcpy instead of bcopy goldsimon 2010-03-26 16:16:38 +0000
  • 57c1f7a16d Fixed compilation with LWIP_UDP/LWIP_TCP disabled goldsimon 2010-03-26 16:10:32 +0000
  • 581b363d79 Make shell work with some or all stats disabled, too goldsimon 2010-03-26 15:48:28 +0000
  • 64763950ca Fixed invalid assertion in error() goldsimon 2010-03-26 14:44:20 +0000
  • e4ad203b0b sys_thread_new(): name is a const char* goldsimon 2010-03-26 14:37:54 +0000
  • 12d42c5801 unixsim: enable more warnings and fix the newly found warnings in ports/unix goldsimon 2010-03-26 14:20:39 +0000
  • c2f3fcc72a Set LWIP_HTTPD_STRNSTR_PRIVATE on by default, prevent old-style function declaration goldsimon 2010-03-26 14:16:04 +0000
  • bafc19addd make some char-pointer-arrays const, add default cases on all switches goldsimon 2010-03-26 14:11:55 +0000
  • d8f5406985 make udpecho_thread() static goldsimon 2010-03-26 14:11:19 +0000
  • 9349f269e6 Remove duplicate prototype of httpd_init() goldsimon 2010-03-26 14:10:50 +0000
  • fbee0f5c56 Don't limit maximum body length in post, added TRACE to some debug outputs goldsimon 2010-03-26 13:42:37 +0000
  • 321578fd14 Fixed compilation: removed extra tokens after #endif, which MSVC doesn't complain about :-( goldsimon 2010-03-25 10:32:12 +0000
  • 71b0d509dc minor coding style: strnstr: added brackets goldsimon 2010-03-22 15:48:23 +0000
  • 7ea6692cdb Don't call tcp_close right after all data is enqueue, since this may result in resetting the connection (because of task #10088) goldsimon 2010-03-22 12:26:40 +0000
  • 75d9fdc5c7 Initialize the listen pcb's prio correctly, added missing cast and include, http_poll: don't check for pcb->state goldsimon 2010-03-22 10:07:36 +0000
  • 0035c0f119 Added support for POST, HTTP/0.9 and extended status files (e.g. "/501.html") goldsimon 2010-03-21 15:42:59 +0000
  • 298991e83b Added option LWIP_HTTPD_SUPPORT_EXTSTATUS goldsimon 2010-03-20 13:50:26 +0000
  • f779310da6 Support request that are spanned over multiple packets/pbufs (disabled by default to save space), use memcpy instead of snprintf goldsimon 2010-03-20 13:35:53 +0000
  • e6be4da29e Added etharp tests goldsimon 2010-03-20 12:00:25 +0000
  • 93a0e58ea2 Added support for precalculated checksum and (pregenerated) HTTP/1.1 headers ("connection: close" and "content-length") goldsimon 2010-03-18 06:34:35 +0000
  • 111004caa9 Fixed compilation for CGI, SSI and DYNAMIC_HEADERS, renamed variables, added comments goldsimon 2010-03-18 06:31:18 +0000
  • 2bb5d99ffc Moved lwipopts.h to include subdir, updated ignore lists goldsimon 2010-03-15 10:40:59 +0000
  • 63363b1b89 disable conversion warning (implicit integer promotion!) goldsimon 2010-03-15 10:38:08 +0000
  • c8baeec50a don't warn about union without name goldsimon 2010-03-15 10:34:35 +0000
  • 9ae87c50d2 Fixed warning about unused local variable in release mode goldsimon 2010-03-15 09:45:20 +0000
  • 05c30ba213 Speed up generating big files goldsimon 2010-03-14 13:25:49 +0000
  • 1c7fae49a3 Fixed tx and rx for ETH_PAD_SIZE != 0 goldsimon 2010-03-14 11:02:38 +0000
  • 3a30b8350d Use tcp_mss(pcb) instead of pcb->mss; only call tcp_output from http_poll goldsimon 2010-03-13 15:02:22 +0000
  • 3f79779a0f Added connection timing, changed default definition of HTTP_IS_DATA_VOLATILE() to not copy data when sending from unmodified files goldsimon 2010-03-12 19:26:57 +0000
  • 244e7eddd2 Changed pktif/pcap_helper again for portability goldsimon 2010-03-10 11:43:47 +0000
  • b83a115953 Fixed compilation warnings (missing casts, includes, etc.) goldsimon 2010-03-10 11:27:11 +0000
  • 5cb0d5848a oops, used non-lwIP typedefs... goldsimon 2010-03-09 16:00:21 +0000
  • 2a5e096165 correct error messages goldsimon 2010-03-09 10:52:35 +0000
  • be3fde3840 get_adapter_index_from_addr: correct return value if adapter not found goldsimon 2010-03-09 10:52:25 +0000