Commit Graph

  • 53499f5e9f timers: rework the core locking around timers (bug #52719) Our Air Quality 2018-01-02 11:49:09 -06:00
  • 04b983b4f3 tcp: handle pcb->snd_queuelen and chained pbufs during segment split (bug #52692) Joel Cunningham 2017-12-19 09:29:24 -06:00
  • f334ac68b6 Work on task #14780: Add debug helper asserts to ensure threading/locking requirements are met Add LWIP_ASSERT_CORE_LOCKED() in several places Dirk Ziegelmeier 2018-01-02 15:44:08 +01:00
  • 10c50dffce tcpip.h: Make functions to lock TCPIP core overridable Dirk Ziegelmeier 2018-01-02 14:06:38 +01:00
  • b33b3bb8bb Start working on task #14780: Add debug helper asserts to ensure threading/locking requirements are met Dirk Ziegelmeier 2018-01-02 13:44:38 +01:00
  • 36d160686a Remove mdnsapi_mdns_resp_announce() again - it is not really needed and declaring it in mdns.h breaks layering between callback-style API and thread-safe API Dirk Ziegelmeier 2018-01-02 12:33:07 +01:00
  • dfd6a31ecb Fixup mdnsapi_mdns_resp_announce() macro - mdns_resp_announce() is a void function! Dirk Ziegelmeier 2018-01-02 11:03:45 +01:00
  • a8755b8530 Work on bug #52770: mdns: move the announcements to a timer callback Don't automatically announce when adding netifs/services Dirk Ziegelmeier 2018-01-02 10:59:20 +01:00
  • c20d50acec Update cache handling in ZeroCopyRx.c - invalidate is faster than flushing Dirk Ziegelmeier 2018-01-02 08:40:23 +01:00
  • 6c7e7153bc Fix bug #52704: DHCP and bad OFFER Stop timeout only if offer is accepted Dirk Ziegelmeier 2017-12-30 12:17:24 +01:00
  • b536fd9767 Apply modified version of bug #52747: mdns resp: separate the announce function and add netifapi support for it Changes made by me: - Move all error handling code into mdns_resp_announce() so it can be safely used by external code - Remove mdns_resp_netif_settings_changed() because it is the same as mdns_resp_announce() after my changes - Declare #define for a "thread-safe" version of mdns_resp_announce in mdns.h instead of netifapi.h - I don't want to intermix netif API with APPs Dirk Ziegelmeier 2017-12-30 12:08:01 +01:00
  • 1b57284bb4 mdns: guard against there being no ip4 address. Our Air Quality 2017-12-30 13:06:53 +11:00
  • a98d3a4efb Add test_def.c to Filelists.mk Joel Cunningham 2017-12-27 09:06:55 -06:00
  • e77099673c Add flushing CPU cache to zero-copy RX code example Dirk Ziegelmeier 2017-12-24 13:12:32 +01:00
  • 27ca731242 Improve cache handling notes from my last commit some more Dirk Ziegelmeier 2017-12-24 13:07:35 +01:00
  • 8f6b876ef9 Common pitfalls document: Add note that lwip writes to ethernet RX buffers (caching issue!) Dirk Ziegelmeier 2017-12-24 13:02:30 +01:00
  • 61e90d9fc0 Use pbuf_clone to replace pbuf_alloc+pbuf_copy Axel Lin 2017-12-19 16:26:23 +08:00
  • 4cfef8acab Apply part from patch 9525: fix lwip_strnicmp in a modified way: Move side effect out of boolean expression Dirk Ziegelmeier 2017-12-24 12:49:28 +01:00
  • 5b9f79680c lowpan6: Fix build warning when LWIP_6LOWPAN_IPHC=0 Axel Lin 2017-12-09 09:45:08 +08:00
  • c6887522fe Fixed lwip_itoa (bug #51729) and added unit tests for it goldsimon 2017-12-23 20:35:18 +01:00
  • b07a481f66 Fix bug #52686 (pointer 'to' checked for NULL in lwip_sendto() may be dereferenced) goldsimon 2017-12-18 20:09:44 +01:00
  • 7c1f844782 Fix compiling mdns.c after last change (mixed code and declarations) goldsimon 2017-12-18 20:06:45 +01:00
  • 2505c6019e httpd: fix the names of some global variables goldsimon 2017-12-18 20:01:24 +01:00
  • db68c6df6a httpd: make global variables static Mike Kleshov 2017-12-18 19:57:07 +01:00
  • 50a5d85f45 tcp: handle segmentation oversize during segment split (bug #52676) Joel Cunningham 2017-12-15 12:15:35 -06:00
  • 31c60775b6 mdns: silence some unused variable warnings. Our Air Quality 2017-12-08 12:18:42 +11:00
  • 0527c1bdf5 apps/smtp: Avoid NULL pointer dereference in smtp_send_body_data_handler Axel Lin 2017-12-05 21:51:13 +08:00
  • df563e74f9 ip4: Fix IPH_OFFSET_BYTES macro Axel Lin 2017-12-12 21:52:08 +08:00
  • 892e30d8c1 ip4_reass: Use IPH_HL_BYTES instead of open coded Axel Lin 2017-12-13 16:35:00 +08:00
  • 4c90858482 ip4_reass: Fix build error when IP_REASS_CHECK_OVERLAP=0 Axel Lin 2017-12-13 20:15:23 +08:00
  • 82483073f0 sntp_send_request: assert that argument 'server_addr' != NULL goldsimon 2017-12-17 22:13:09 +01:00
  • ba270c2414 apps/sntp: Use ip_addr_copy to save server address Axel Lin 2017-12-15 14:47:52 +08:00
  • 920ee2d07e sntp: use const for servername Joel Cunningham 2017-12-13 11:34:48 -06:00
  • 60063b98e1 Fix bug #52611: Incorrect use of ctype macros? by applying a modified version of Axel Lin's patch including Mike Kleshov's comments. Dirk Ziegelmeier 2017-12-07 12:01:09 +01:00
  • ec9f227eae apps/altcp_tls: Remove redundant check for altcp_mbedtls_malloc_clear_stats Axel Lin 2017-12-05 11:59:30 +08:00
  • eb30dbfdc5 Fix build warning for lwip_isdigit/isxdigit/islower/isspace Axel Lin 2017-11-30 11:27:42 +08:00
  • 975e23bf5e bridgeif: Remove redundant port_netif NULL test in bridgeif_send_to_port Axel Lin 2017-11-24 09:06:32 +08:00
  • 2ceedfe097 Fix bug #52345: MQTT buffer length check seems wrong Don't try to parse variable length part if it is not contained in message Dirk Ziegelmeier 2017-11-26 21:05:07 +01:00
  • ad47a46815 Revert fix for bug #52345, that was not correct Dirk Ziegelmeier 2017-11-26 20:59:39 +01:00
  • 32788f2c74 sockets.c: use udp_is_flag_set() instead of udp_flags() Axel Lin 2017-11-23 22:12:41 +01:00
  • f8f31218d1 sockets_stresstest.c: some compile and runtime fixes goldsimon 2017-11-23 09:19:01 +01:00
  • 6e624f8035 multithreading socket test: implement more code paths goldsimon 2017-11-22 23:08:57 +01:00
  • 0397ff9ba4 Added initial version of multithreading socket test goldsimon 2017-11-22 22:03:33 +01:00
  • 6cbee37a58 apps/httpd: Use LWIP_ARRAYSIZE at appropriate places Axel Lin 2017-11-22 12:27:19 +08:00
  • 5cd6c38893 apps/snmp: Fix buld error when LWIP_SNMP_CONFIGURE_VERSIONS=1 Axel Lin 2017-11-20 12:02:20 +08:00
  • b48106c662 Fixed build errors in makefsdata introduced with the last commit goldsimon 2017-11-21 20:08:40 +01:00
  • 5500a36b29 ... and fix DEBUG string goldsimon 2017-11-21 12:55:07 +01:00
  • 444dfeada8 task #14600: tcp_alloc(): kill TF_CLOSEPEND connections before other ESTABLISHED goldsimon 2017-11-21 12:53:33 +01:00
  • 5dc3072af8 makefsdata: added option "-ssi:<filename>" to control SSI tag checking/insertion through a list of filenames, not by checking the file extension at runtime goldsimon 2017-11-21 12:23:05 +01:00
  • 26f55f1eb3 makefsdata: add information about SSI and about the version of the included header to files goldsimon 2017-11-21 12:22:19 +01:00
  • 839e5ecec6 makefsdata: rework finding arguments, rework printing flags to file goldsimon 2017-11-21 12:22:19 +01:00
  • cdabdcb00d test_sockets: disable test for calling recv() after remote closure Joel Cunningham 2017-11-20 14:17:59 -06:00
  • ebcae98ae6 Revert "socket/netconn recv: FIN should only be reported once (as '0' for sockets, as 'ERR_CLSD' for netconns)" Joel Cunningham 2017-11-20 13:54:11 -06:00
  • 6af3b4accc netconn: Add LWIP_HOOK_NETCONN_EXTERNAL_RESOLVE (patch #9427) Joel Cunningham 2017-11-20 09:59:35 -06:00
  • 2aed2fc215 sockets: prevent nested SYS_ARCH_PROTECT() for LWIP_NETCONN_FULLDUPLEX==1 goldsimon 2017-11-19 14:37:29 +01:00
  • 8b6bb1a503 apps/httpd: Fix build error when LWIP_HTTPD_TIMING=1 Axel Lin 2017-11-19 13:58:24 +08:00
  • f5c37c8cbb Fix broken MSG_PEEK on TCP sockets (post-2.0.3 bug) goldsimon 2017-11-18 13:34:20 +01:00
  • d99144eef1 tcp: Remove superfluous variable in tcp_netif_ip_addr_changed() Axel Lin 2017-11-17 09:33:06 +01:00
  • 2ff0ef027e Use NETIF_FOREACH macro at appropriate places Axel Lin 2017-11-17 22:19:59 +08:00
  • 8c6884b2db tcp_close_shutdown: always deallocate the pcb if there is unread data on close (see bug #52403) goldsimon 2017-11-17 22:04:52 +01:00
  • 0853d1e7d1 sntp: revert 2 -Wconversion changes (see bug #51538) goldsimon 2017-11-17 21:39:23 +01:00
  • db3a4e3158 socket/netconn recv: FIN should only be reported once (as '0' for sockets, as 'ERR_CLSD' for netconns) goldsimon 2017-11-17 21:22:53 +01:00
  • 2b309bd1ae socket unit tests: improve basic tests a bit goldsimon 2017-11-17 21:22:00 +01:00
  • fa73f130f1 tcp: fix bug #36167 again (fixed in 2014, but when calling shutdown(WR) followed by recv(), this still happened) goldsimon 2017-11-17 21:06:49 +01:00
  • 926805bcf1 tcp unit test: fix some endless loops for TCP_WND == 0xFFFF goldsimon 2017-11-17 21:04:33 +01:00
  • 1e0501c31a Improve HTTPD documentation Dirk Ziegelmeier 2017-11-17 10:08:35 +01:00
  • b0344518e8 sockets.c: Don't rely on #defines in socket.h to be in sync with ip.h Map SO_* to SOF_* #defines Dirk Ziegelmeier 2017-11-08 09:03:26 +01:00
  • da01bc4d15 httpd: ssi: support selecting ssi files by file flags, not by extension (at runtime) only goldsimon 2017-11-16 22:29:44 +01:00
  • 8bd670430a httpd: ssi: move checking file extensions against g_pcSSIExtensions array into its own function guarded by LWIP_HTTPD_SSI_BY_FILE_EXTENSION goldsimon 2017-11-16 22:24:17 +01:00
  • 5d6b39f1ce httpd: work on option documentation goldsimon 2017-11-16 22:17:32 +01:00
  • c47d161d4a netifapi: add thread safe ARP APIs (task #14724) Joel Cunningham 2017-11-14 14:38:10 -06:00
  • 40a563cdd3 dns: Use dns_backupserver_available() instead of open-coded Axel Lin 2017-11-14 15:59:18 +08:00
  • d20a7aba0c netif: Use ip6_addr_isvalid() at appropriate places Axel Lin 2017-11-16 20:01:55 +08:00
  • a73eb7ae72 pbuf.c: fix that pbuf_skip_const() was not prototyped for some configurations goldsimon 2017-11-16 11:37:34 +01:00
  • 5290eacf08 altcp_mbedtls: close and error related fixes David Girault 2017-11-15 21:58:12 +01:00
  • 245a6835f3 fixed bug #52403: netconn: FIN may be sent instead of RST when TCP netconn is closed with pending data in recv_mbox goldsimon 2017-11-15 21:12:15 +01:00
  • bd2e820829 Fix double-free when closing mbedTLS connections goldsimon 2017-11-14 22:21:08 +01:00
  • 6ef5f68c72 Don't forget to save before committing! (compile fix for my previous commit) Dirk Ziegelmeier 2017-11-13 22:53:41 +01:00
  • 1fdc7571e0 Move DNS_MAX_RETRIES option from dns.c to opt.h Dirk Ziegelmeier 2017-11-13 22:52:39 +01:00
  • 2c1a152880 Fix bug #52239: if a DNS request is denied by a DNS server, this DNS request shouldn't be stopped if there is another DNS server to try Apply improved version of Xiaodong Sun's patch Dirk Ziegelmeier 2017-11-13 22:51:08 +01:00
  • a56ea1b19f dns.c: Rename goto label memerr to ignore_packet Label is more descriptive this way Dirk Ziegelmeier 2017-11-13 22:37:38 +01:00
  • 1a1478551e Fix bug #52345: MQTT buffer length check seems wrong (for empty payload in publish message) Dirk Ziegelmeier 2017-11-13 22:29:25 +01:00
  • a82054d24f Follow-up to patch #9472: tcp_kill_prio: Don't kill active connection that has the same priority Correctly search for connection with lowest prio AND longest inactivity time Dirk Ziegelmeier 2017-11-13 22:13:11 +01:00
  • 1665fcba83 httpd: LWIP_HTTPD_CGI_SSI: complete unfinished documentation for httpd_cgi_handler() goldsimon 2017-11-13 21:18:15 +01:00
  • 365e031340 httpd: fixed double-free for default 404 file () for LWIP_HTTPD_DYNAMIC_HEADERS==1 goldsimon 2017-11-13 21:04:24 +01:00
  • 1147b9ce38 test_dhcp: set link up on net_test netif Joel Cunningham 2017-11-08 14:42:28 -06:00
  • 637bce91b4 netif: ensure link and admin states are up in issue reports (bug #52353) Joel Cunningham 2017-11-08 12:55:33 -06:00
  • d864f8c3a3 Fix bug #52368: Minor typo in comment I think "Internet checksum functions" is OK Dirk Ziegelmeier 2017-11-08 19:52:40 +01:00
  • 7a241b6b52 slipif: Fix unbalance SYS_ARCH_PROTECT in slipif_process_rxqueue() Axel Lin 2017-11-08 21:01:02 +08:00
  • a8acca5902 Trivial typo fix Axel Lin 2017-11-07 08:59:29 +08:00
  • a78dbb25c5 docs: small clean ups for last couple of commits: Joel Cunningham 2017-11-06 09:35:24 -06:00
  • d8b6cdffcb Apply patch #9472: tcp_kill_prio: Don't kill active connection that has the same priority in a modified, IMHO more readable way. Dirk Ziegelmeier 2017-11-06 12:53:08 +01:00
  • 41cf4012af pbuf: Simplify pbuf_get_contiguous implementation Axel Lin 2017-10-27 11:37:29 +08:00
  • c1efb9e296 pbuf: Make pbuf_add_header/pbuf_remove_header return error if invalid parameters Axel Lin 2017-10-30 10:45:55 +08:00
  • 7eb462867b Fix follow-up to [bug #52315] Minor typo in output of MIB compiler LWIP_SNMP_OBJ_ID_LEN -> SNMP_MAX_OBJ_ID_LEN Dirk Ziegelmeier 2017-11-05 11:51:17 +01:00
  • 849dfb17c7 The macros in ip6_addr.c are duplicated from ip4_addr.c, so move them to lwIPs portability layer ...didn't see that in the first place... Dirk Ziegelmeier 2017-11-05 10:27:46 +01:00
  • 93f4245e89 ip6_addr.c: Convert several macros to private #defines The macros are functions from ctype.h, but ctype.h declares them as functions, not as #defines It makes no sense to abstract them in lwIPs portability layer, the functions are of low complexity and they are only used in this file. Dirk Ziegelmeier 2017-11-05 10:13:24 +01:00
  • a9a3d473ac Make xchar() a private #define of ip6_addr.c, it is not standardized in any C header Dirk Ziegelmeier 2017-11-05 10:06:25 +01:00
  • de991b1158 Apply patch #9478: MQTT.c printf warning in debug messages in a modified version that uses lwIP's format string #defines Dirk Ziegelmeier 2017-11-05 09:51:26 +01:00
  • 472f7985b5 Introduce LWIP_PACKED_CAST to fix error issue with ARMCC Joel Cunningham 2017-10-31 09:41:19 -05:00