Commit Graph

659 Commits

Author SHA1 Message Date
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
Simon Goldschmidt
c2539dbc8c Fixed bug #39380 Cannot build smtp example when debug is disabled 2014-02-22 20:10:42 +01:00
Simon Goldschmidt
bb3e70c860 Fixed bug #41498 simhost unix project in lwip-contrib calls netif_init() twice. 2014-02-20 21:56:56 +01:00
Simon Goldschmidt
21e076cb56 patch #8097 httpd: Return failure if parsing Content-Length fails 2014-02-20 21:19:27 +01:00
Erik Ekman
a37d623975 Ignore LWIP_PLATFORM_ASSERT when running tests 2014-02-12 22:14:24 +01:00
Erik Ekman
c9a6db0ff3 Include core/test_pbuf.c file in build 2014-02-12 22:14:14 +01:00
Fatih Asici
b7b6373ca5 httpd: Ignore remaining POST content in case of application error 2014-01-17 22:07:42 +01:00
Simon Goldschmidt
346d2f8c8a ping app: restore original packet if packet is not eaten 2013-01-11 22:00:24 +01:00
Simon Goldschmidt
acc69ff333 Added missing files (test_pbuf.c/.h) 2013-01-11 21:24:39 +01:00
Simon Goldschmidt
e7723b295d Fixed compiling tcpdump.c after removing the macro TCPH_OFFSET() (patch by Erik Ekman) 2012-09-26 21:33:25 +02:00
Simon Goldschmidt
f9147eb997 bug #37151 HTTP header corrupted in http_post_request 2012-08-22 22:21:35 +02:00
Simon Goldschmidt
7c9f0dce5a Fixed bug #36905 SNTP problem with SNTP_STARTUP_DELAY symbol (by adding a new optional macro SNTP_STARTUP_DELAY_FUNC) 2012-08-13 21:43:43 +02:00
Simon Goldschmidt
b14da81fb9 Patch by Sylvain Rochet: Fixed bug #36436: ethernet input flag not set on unix proj minimal mintapif 2012-05-11 22:42:32 +02:00
Simon Goldschmidt
ec429c725a Fixed bug #36374 makefsdata.exe can't handle files with non-C characters (allow only 'A-Z', 'a-z', '0-9' and '_' for C variable names) 2012-05-02 22:19:30 +02:00
Simon Goldschmidt
00e04f9cdb Added dhcp unit test to Win32 project 2012-03-25 17:26:22 +02:00
Erik Ekman
4ad9b0501c Add unit tests for DHCP
Three simple tests that test the basic functionality of the DHCP client.
They require that UDP checksums are off for now.
2012-03-25 17:24:34 +02:00
Simon Goldschmidt
5b1bd88115 unixif: fixed unused variable warning, replaced tabs with spaces 2012-03-01 19:15:38 +01:00
Simon Goldschmidt
600b8665a5 patch #7731 contrib: Add -fPIC to CFLAGS in unix/proj/lib (by Erik Ekman) 2012-03-01 18:59:22 +01:00
Simon Goldschmidt
6f002beae5 httpd: don't shadow globals ('abort' is declared under linux) 2012-02-23 19:01:05 +01:00
Simon Goldschmidt
cc786efa73 unixsim: change lwipopts.h to not break init.c sanity checks 2012-02-23 19:00:59 +01:00
goldsimon
ae3ba92f3f httpd: updated example index.html to provide links to our savannah page and wiki instead of adam's (not updated) site only 2012-02-23 19:00:48 +01:00
goldsimon
79761834da Win32 pcapif: use pcap_findalldevs(), not pcap_findalldevs_ex() (we don't capture remotely), added missing casts 2012-02-23 08:46:55 +01:00
Simon Goldschmidt
72e48fada0 unix unit test Makefile: use lwipopts.h from test/unit instead of using our own configuration. 2012-02-22 21:49:08 +01:00
Simon Goldschmidt
1cd61ba1ae sntp: added function sntp_stop() to stop the module, removed the (incomplete) socket part. 2012-02-22 21:10:45 +01:00
Simon Goldschmidt
3af14514dd httpd: use better default values: support HTTP request in up to 5 pbufs by default 2012-02-22 20:56:45 +01:00
Simon Goldschmidt
59c83ef10e httpd: ensure tcp_write() isn't called with len==0 2012-02-22 20:55:27 +01:00
goldsimon
2cb9d29591 win32 projects: fixed warning level and build options 2012-02-16 15:48:22 +01:00
goldsimon
8eb51799aa httpd:
- include 'struct fs_file' in 'struct http_state' to prevent file allocation fails when connection allocation succeeded (plus have less allocations/pools);
- added (conditional) code to abort the oldest connection when allocating a new connection fails;
- fixed some warnings;
2012-02-16 15:39:15 +01:00
goldsimon
98b666de5d changed win32 projects to compile unit tests using correct lwipopts.h, removed unncessesary <FileConfigurations> 2012-02-16 13:24:13 +01:00
Simon Goldschmidt
88b5a36be2 Added Makefile to run the unit tests under unix/linux 2012-02-14 21:55:20 +01:00
Simon Goldschmidt
48e301d329 Fixed unix makefiles by adding IPv6 source files to the binary 2012-02-14 21:43:21 +01:00
Simon Goldschmidt
49fcad8f65 Fixed warning about unused http_continue() 2012-02-14 21:25:06 +01:00