Simon Goldschmidt
907ea97876
Fixed warnings when assigning time_t to int/u32_t
2012-02-14 21:11:42 +01:00
Simon Goldschmidt
2a2617bc19
Use C-style comments, not C++ style
2012-02-13 20:46:40 +01:00
Simon Goldschmidt
00b2bb461a
udpecho: no need netconn_connect, since the netbuf contains the address (bug #34921 )
2012-01-20 21:57:26 +01:00
goldsimon
5ab0be592b
Prevent multiple calls to httpd_post_finished, since it might have already been called before from httpd_post_data_recved().
2012-01-12 15:45:27 +01:00
Simon Goldschmidt
2d6a677a08
- include opt.h as first file (as done in all other C files);
...
- explain tcp_setprio instead of that nonsense comment :-)
2011-11-29 21:48:32 +01:00
Simon Goldschmidt
16e98196e0
Fixed type in define: CUSTUM -> CUSTOM
2011-11-28 22:22:17 +01:00
Simon Goldschmidt
7546907c7b
makefsdata:
...
- fixed typo (struct ffblk, not fflbk);
- changed include path to be relative to lwip's 'include' dir
2011-11-25 17:59:09 +01:00
Simon Goldschmidt
af07304f02
Fixed typos (used pcapif_ instead of pcapifh_)
2011-11-24 20:51:49 +01:00
Simon Goldschmidt
62a162ac66
pcapif_low_level_input: let IPv6-multicast MAC addresses through, correctly check IPv4-multicast MAC addresses
2011-11-23 21:29:43 +01:00
Kieran Mansley
3a5de6effd
Bug34596: remove LWIP_TIMEVAL_PRIVATE setting from unix project lwipopts.h
2011-11-01 12:57:57 +00:00
Kieran Mansley
0b90e53845
Bug34596: set LWIP_TIMEVAL_PRIVATE in unix port
2011-10-28 13:42:54 +01:00
Simon Goldschmidt
2b8147b8d9
win32 test: added support for (multiple) SLIP netifs (routing between pcap and SLIP works, 2 SLIP netifs can be used for "loopback" SLIP traffic via named pipes)
2011-10-21 22:43:10 +02:00
Simon Goldschmidt
cc16cae039
win32 sio.c: added missing function sio_tryread(), fixed COM port usage (now it works for me to connect lwIP from win32 to my AVR target using SLIP)
2011-10-21 22:27:55 +02:00
Simon Goldschmidt
cac420aec5
pcapif: remove trailing spaces from adapter names, deleted old (unused) files
2011-10-21 20:03:37 +02:00
goldsimon
a412496558
SMTP: disable compilation when LWIP_TCP is disabled
2011-10-21 13:28:01 +02:00
Simon Goldschmidt
b9eba2dc8e
Merge branch 'master' of git.sv.gnu.org:/srv/git/lwip/lwip-contrib
2011-10-18 20:14:28 +02:00
Simon Goldschmidt
7b92f34341
sys_now() should work for NO_SYS, too (where sys_init() is not called)
2011-10-18 20:14:05 +02:00
goldsimon
eaf034149e
Fixed bug #34582 missing limits.h for unix arch (needed for default value "INT_MAX" of RECV_BUFSIZE_DEFAULT)
2011-10-18 10:36:38 +02:00
goldsimon
bdcf5c1ef9
fixed msvc project files for compiling/running unit tests
2011-10-11 09:17:26 +02:00
Simon Goldschmidt
eee1d67e7a
Patch by Gisle Vanem: fix Win32 port for MinGW
2011-09-29 21:43:53 +02:00
Simon Goldschmidt
288914b5c0
ping: fixed input pbuf processing when using raw API (check p->tot_len before calling pbuf_header)
2011-09-22 21:12:06 +02:00
Simon Goldschmidt
52aa714af2
Changed PBUF_POOL_SIZE to not break the sanity checks in init.c
2011-09-21 18:52:33 +02:00
goldsimon
c662bb3aa3
win32 port: fixed compilation of test.c, added ppp_impl.h to project
2011-09-13 07:54:33 +02:00
Simon Goldschmidt
e3bcc2fe4e
pcapif: added the possibility to instantiate more than one pcap driver by passing the adapter index as 'state' to netif_add()
2011-09-11 12:49:57 +02:00
Simon Goldschmidt
7f3c08494a
Win32 sys_init(): initialize the random seed (or we use the same random values for every process)
2011-09-11 12:46:18 +02:00
Simon Goldschmidt
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;
2011-09-04 19:26:46 +02:00
Simon Goldschmidt
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
2011-09-02 22:31:05 +02:00
Simon Goldschmidt
ff50e469a5
fixed VS version
2011-09-02 22:14:59 +02:00
Simon Goldschmidt
a0c771ba9b
VS projects: removed VCWebDeploymentTool (warnings when upgrading), added smtp.c/.h
2011-09-02 22:13:58 +02:00
Simon Goldschmidt
69b3e7a03c
pcapif: added IPv6 support, use pcap_next() instead of pcap_poll(), changed occurrences of the string 'pktif' to 'pcapif'
2011-09-02 22:10:26 +02:00
Simon Goldschmidt
198c2a2082
Deleted old pktif, since we have a working pcapif
2011-09-02 22:09:14 +02:00
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)
2011-09-02 22:02:45 +02:00
Simon Goldschmidt
08119c678c
Create link-local addresses in all unix projects if LWIP_IPV6==1
2011-09-02 21:53:12 +02:00
Simon Goldschmidt
82031caa3c
Fixed bug #34170 Memory leak in sntp_send_request() (pbuf used for request was sent to udp but never freed)
2011-09-01 21:08:11 +02:00
goldsimon
74848e8b3e
Win32: fixed structure member alignment in project settings, updated ignore lists
2011-08-30 13:14:03 +02:00
Simon Goldschmidt
9a6e57fdbe
Added my smtp client using the lwIP raw API
2011-08-24 23:27:16 +02:00
Simon Goldschmidt
bce6087f47
Merge branch 'master' of git.sv.gnu.org:/srv/git/lwip/lwip-contrib
2011-08-24 22:53:49 +02:00
Simon Goldschmidt
1494ad3919
Added IPv6 support to unix tapif driver: patch by Dan Pomohaci, couldn't test it, yet :-(
2011-08-24 20:00:08 +02:00
Kieran Mansley
4ebfe86430
fix use of inet_chksum_pseudo in unixsim
2011-07-29 13:38:53 +01:00
Simon Goldschmidt
2f3fdb4c97
Tried to fix the unix port projects after adding IPv6
2011-07-28 21:55:53 +02:00
goldsimon
32b341c04a
Fix compiler warnings in debug macros
2011-07-06 08:37:01 +00:00
goldsimon
cf57b51527
Adapted include path to inet_chksum.c
2011-07-06 07:15:13 +00:00
goldsimon
87a03a8aad
... and changed some more files
2011-07-06 07:14:35 +00:00
goldsimon
c2b8b721e3
Fix VisualStudio project files after adding IPv6
2011-07-06 07:07:52 +00:00
goldsimon
b73187713f
httpd: move some variables from rwdata- to rodata- or bss-section
2011-03-27 13:07:48 +00:00
goldsimon
1c84fa5e5d
Added unsigned modifier 'U' to defined constants
2011-02-18 13:24:21 +00:00
kieranm
c67a905dd9
Fix compile error in httpd.c
2011-02-03 12:44:15 +00:00
goldsimon
61cd545508
Improved debug output on sending data
2010-11-20 17:29:35 +00:00
goldsimon
dc0cd64e63
Fix compilation warnings (due to undefined defines)
2010-09-30 10:41:09 +00:00
goldsimon
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
2010-07-19 14:26:36 +00:00