Commit Graph

111 Commits

Author SHA1 Message Date
goldsimon
cb7f0de9f8 Fixed bug #29068: Fixed memory leak in ping_recv for PING_USE_SOCKETS==0 2010-03-04 15:48: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
44374b26da typo: 609 -> 509 2010-02-17 16:51:45 +00:00
goldsimon
670e347eed added missing newline before EOF 2010-02-17 16:48:34 +00:00
goldsimon
56d3d5c39a help_msg is split into 2 strings to prevent exceeding the C89 maximum length of 509 per string 2010-02-17 16:48:23 +00:00
goldsimon
a50dd0cc7b Use new macro ip_addr_copy 2010-02-14 12:44:48 +00:00
goldsimon
2027a11331 Use the new fcntl(), too 2010-02-13 15:56:53 +00:00
goldsimon
8f62d0525c Fixed packing of struct rtp_hdr 2010-02-13 14:47:41 +00:00
goldsimon
8a8f2f762c Added test for closing socket in nonblocking connect 2010-02-12 17:00:05 +00:00
goldsimon
5397ecfbca Added comment 2010-02-12 16:59:50 +00:00
goldsimon
a139f72602 Added a function to test recv timeout and correct closing 2010-02-09 20:13:32 +00:00
goldsimon
fc7b8e1fc2 Add printf for feedback when all tests are done 2010-02-09 18:39:19 +00:00
goldsimon
e46c1c88e9 Added guard to only compile if LWIP_SOCKET is enabled 2010-02-09 17:51:11 +00:00
goldsimon
c1c78c4c9e Added guard to only compile if LWIP_NETCONN is enabled 2010-02-09 17:50:57 +00:00
goldsimon
b5212c5d60 Don't use C++ comments 2010-02-09 13:18:08 +00:00
goldsimon
c4fb6238a0 Support for case insensitiva comparision of NETBIOS_LWIP_NAME 2010-02-05 10:56:47 +00:00
goldsimon
a6828003d8 Replaced struct ip_addr by typedef ip_addr_t to make changing the actual implementation behind the typedef easier. 2010-02-04 18:50:12 +00:00
goldsimon
87c6d6324e Check that netconn_new doesn't fail 2010-02-04 17:23:46 +00:00
goldsimon
899ae6a321 Use macros defined in ip_addr.h (some of them new) to work with IP addresses (preparation for bug #27352 - Change ip_addr from struct to typedef (u32_t) - and better code). 2010-02-04 17:23:30 +00:00
goldsimon
880ed2c01e Moved lwip_prvmib.c and private_mib.h from unix/proj/minimal to apps/snmp_private_mib and extended it for write support and usage with memory buffers instead of files to be used under non-posix OSes as an example 2010-02-02 19:39:25 +00:00
goldsimon
103def2a7e Don't use C++ style comments 2010-01-29 23:17:39 +00:00
goldsimon
54870b94ea Added socket example both for users to get started and to ASSERT/test basic socket behavior 2010-01-29 23:13:23 +00:00
goldsimon
003f79774e Graceful shutdown of netconn-httpd on error 2010-01-29 23:11:06 +00:00
goldsimon
aa0ae95b4e Adapted to changed inet.h/ip_addr.h/def.h 2010-01-29 08:24:08 +00:00
goldsimon
cceacccce6 Adapted to changed inet.h/ip_addr.h/def.h, fixed warnings 2010-01-29 08:22:40 +00:00
goldsimon
185eb9663f Coding style: don't use reserved C++ keywords (since many editors can't differ between a C and a C++ file); bug #28659: Missing casts 2010-01-25 08:21:33 +00:00
goldsimon
892859455c bug #28659: Missing casts 2010-01-25 08:20:46 +00:00
goldsimon
448dd70ced Added raw-api tcp echo server from unix/minimal 2010-01-24 17:12:29 +00:00
goldsimon
dbee3cf464 (Experimental) support for echoing typed characters (to see what you typed in telnet), doesn't really work reliably yet... 2010-01-24 13:31:14 +00:00
goldsimon
5af75e5b01 Portability: support "\n" or "\r\n" for newline to correctly print on win32 telnet 2010-01-24 13:30:00 +00:00
goldsimon
566a3ad2ca Fix TCP handling: command doesn't have to be contained in a single packet but remote side has to enter \r or \n to finish a command, this supports the other end being a (hand-typed) telnet session 2010-01-24 13:28:10 +00:00
goldsimon
409e10ca8f bug #26523: Compiler Warnings 2010-01-24 13:26:13 +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
a7c23005e7 Use correct #if's for function prototype 2010-01-20 07:39:36 +00:00
goldsimon
cfcb3da29f Fixed after changing netconn_recv/_accept 2010-01-20 07:38:10 +00:00
goldsimon
afa884b61f remove 'const' from 'int len' -> not necessary 2010-01-18 09:27:46 +00:00
goldsimon
6615f46dd1 Added header file, init function and changed function names 2010-01-13 15:56:56 +00:00
goldsimon
998f076f4b Typo, coding style & missing include 2010-01-13 15:38:50 +00:00
goldsimon
15bfd8f2d4 Don't use C++ style comments 2010-01-07 10:24:31 +00:00
goldsimon
4c733650e6 Adapted to changed timer implementation 2009-12-31 16:24:58 +00:00
goldsimon
9e977b7efc Default setting for PING_USE_SOCKETS was accidentally inverted 2009-12-06 10:01:48 +00:00
goldsimon
4dac3ab5f6 Fixed compiling httpd without user-specified memp-pool 2009-12-05 14:21:01 +00:00
goldsimon
c813c2f691 Make socket/raw api decision configurable 2009-12-04 08:12:36 +00:00