Commit Graph

690 Commits

Author SHA1 Message Date
Sylvain Rochet
de01153586 unixsim: port to changed PPP interface 2014-12-24 17:13:47 +01:00
Sylvain Rochet
f2e83197ff unixsim: fixed various compiler warnings
missing prototype, unused functions, unused parameters
2014-12-24 15:42:13 +01:00
Sylvain Rochet
85121abb78 unix port: simhost example: updated to include changed PPP files 2014-12-23 19:33:29 +01:00
Sylvain Rochet
79b0f6a86c unix port: fixed tcpdump.c syntax 2014-12-23 19:31:18 +01:00
goldsimon
e1f290d37d pcapif: set NETIF_FLAG_ETHERNET, too 2014-12-19 16:02:14 +01:00
goldsimon
e702ccb15e httpd makefsdata.c: fixed printing usage 2014-12-17 11:04:15 +01:00
goldsimon
28fe0060d9 httpd:
- separated content-types from other header fields to make it easier to add more content types (no manual indexing required);
- added content-type for pdf, fixed content-type for javascript (no "x-");
2014-12-17 10:40:16 +01:00
goldsimon
4023aedb3a httpd:
- fix maximum write count for LWIP_HTTPD_DYNAMIC_FILE_READ==1 (was limited to 2*mss);
- fix waiting for ACK from remote side after sending headers of async read files;
- pass TCP_WRITE_FLAG_MORE when writing headers
2014-12-17 10:18:13 +01:00
goldsimon
b9705ef949 pcapif: fixed padding output data to ETH_MIN_FRAME_LEN for ETH_PAD_SIZE != 0 2014-12-10 09:46:47 +01:00
goldsimon
bea4a92069 Win32 pcapif:
- add padding to get the minimum ethernet frame size (strange results when using loopback pcap traffic between 2 simulated hosts);
- added: PCAPIF_FILTER_GROUP_ADDRESSES==1: receive all group addressed traffic, not only IP(v4/v6) multicast addresses
2014-12-08 14:22:23 +01:00
goldsimon
074a7b5967 httpserver_raw/fs.h: added C++ include guards 2014-11-21 17:05:32 +01:00
goldsimon
3aec30b2a7 httpd: fixed compiling HTTPD_USE_MEM_POOL in strict C (not C++) 2014-11-12 12:49:54 +01:00
goldsimon
b19fd7d218 Win32 pcapif.c: fix C coding style, include lwipcfg_msvc.h as first file so that it can set _CRT_SECURE_NO_WARNINGS for MSVC 2014-11-11 11:39:51 +01:00
goldsimon
efb6f0bdb4 httpd.h: added C++ guards 2014-11-07 17:29:33 +01:00
goldsimon
02895c1ce3 httpd_structs.h: IAR 7 wants 'static const' instead of 'const static'... 2014-11-07 14:29:10 +01:00
sg
ffb99d8be9 added VS2010 projects / cahanged solutions to VS2010 2014-11-05 21:36:58 +01:00
sg
f5f3368ea1 Fixed bug #43514 SMTP authentication disabled when only LOGIN is enabled 2014-11-02 20:14:40 +01:00
Sylvain Rochet
1210a4d5a6 bugfix #35874 broke the unix SIO port by introducing a include define conflict between the stack and the port 2014-10-12 17:54:11 +02:00
goldsimon
cd15306868 httpd: fixed skipping bytes in dynamic header under certain memory constraints 2014-09-19 13:11:45 +02:00
Simon Goldschmidt
43253483a8 partly applied patch #8357: fix compiler warnings in tcpdump.c 2014-09-17 22:17:10 +02:00
Simon Goldschmidt
96e27bf4f7 minor: unix port removed unused define IPv4 2014-09-17 22:14:57 +02:00
Simon Goldschmidt
c6c94d27fc minor: tcpdump: fixed source code layout 2014-09-17 22:14:08 +02:00
Simon Goldschmidt
2386284b04 Fixed bug #41500 SMTP base64 patch 2014-09-02 22:11:26 +02:00
Simon Goldschmidt
baaa81727a fixed bug #42608 SMTP usage in opening comment swaps sender and receiver 2014-09-02 20:34:55 +02:00
goldsimon
fce9446a1b added optional macros PACK_STRUCT_FLD_8() and PACK_STRUCT_FLD_S() to prevent gcc 4 from warning about struct members that do not need packing 2014-09-02 13:05:02 +02:00
goldsimon
63fde52db2 smtp: fixed some minor compiler warnings 2014-09-02 13:01:26 +02:00
goldsimon
cf40c6315f Adapted example ports to moved IPv4/IPv6 header files 2014-09-01 17:30:45 +02:00
goldsimon
878b4dbc52 fixed a 'use after free' found from scanning the our httpd with a webserver scanning tool 2014-09-01 17:09:07 +02:00
goldsimon
912f37d66b httpd: fixed compiling in 2 configurations when SSI is disabled 2014-09-01 16:44:34 +02:00
goldsimon
f87cb174ec SMTP: added missing casts (which are not strictly required when compiling C) 2014-09-01 16:08:31 +02:00
Simon Goldschmidt
47ab4b0f98 httpd: fix memory leak when LWIP_HTTPD_SUPPORT_REQUESTLIST==1 and connection is closed while trying to parse a request (should not happen on correct connections) 2014-08-20 21:47:29 +02:00
Simon Goldschmidt
80ae68d1be changed win32 project files to MSVC9/Visual C++ 2008 and renamed the directory accordingly; added .gitignore to ignore all the MSVC build files 2014-08-20 21:45:31 +02:00
Simon Goldschmidt
af57a58b48 Updated win32 example port project to include changed PPP files 2014-08-20 21:21:59 +02:00
goldsimon
39107a4066 Reverted too much changed test code... 2014-08-19 14:24:48 +02:00
goldsimon
1cdaaf47bf win32 port: call srand() in tcpip_thread, too since the random seed is stored per thread 2014-08-19 14:23:56 +02:00
Simon Goldschmidt
36eab89184 SMTP: Add comment about 'err' checking in connect callback 2014-06-04 21:17:25 +02:00
goldsimon
6d4e09ea3c bug #35874 reserved identifier violation, 2nd part in even more files 2014-05-20 12:30:59 +02:00
goldsimon
e4ec9053e9 bug #35874 reserved identifier violation, 2nd part 2014-05-20 12:28:00 +02:00
Simon Goldschmidt
b833b173cc Fixed bug #35874 reserved identifier violation (removed leading underscores from header include guards) 2014-05-19 21:58:36 +02:00
Simon Goldschmidt
1e04deb667 makefsdata.c: minimal check if given path is OK 2014-05-15 20:50:22 +02:00
goldsimon
dc27bc8c07 makefsdata: don't use FindFirstFile to see if a directory exist but CHDIR() to it directly 2014-05-06 09:30:08 +02:00
Simon Goldschmidt
9f6dc6ad94 makefsdata: tried to fix another warning from static code analysis 2014-04-30 22:15:59 +02:00
Simon Goldschmidt
3268ac82aa sio.c: fixed printf had more arguments than the format string needed (because %d was missing) 2014-04-30 22:13:44 +02:00
goldsimon
55d09ae777 fixed warnings in unix port; use the same compiler settings in all 3 projects; use echo.c from apps and removed duplicate from unix/proj/minimal 2014-04-30 14:03:21 +02:00
goldsimon
8806c1e50e fixed compiler warnings 2014-04-30 14:01:49 +02:00
goldsimon
993d8c8c82 fixed compiling port/win32 for C++ 2014-04-30 12:26:17 +02:00
goldsimon
0007b4e6ba Multiple fixes found by coverity scan 2014-04-30 12:25:40 +02:00
Simon Goldschmidt
bc4a7f92ad httpd: fix that http_write() returns 1 in "length" when not sending because of sndbuf/sndqueuelen 2014-03-11 20:44:06 +01:00
Simon Goldschmidt
16167a22ef Fixed bug #31948 httpd: Improving HTTP Server performance when SSI is enabled 2014-03-11 20:34:37 +01:00
Simon Goldschmidt
856e9ecb8c Fixed compiler warnings (unused variables) 2014-02-26 22:00:03 +01:00