Commit Graph

  • 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
  • d39e8cd827 docs: replace old reference to TCPIP_APIMSG with netconn_apimsg Joel Cunningham 2017-10-29 16:52:03 -05:00
  • 08ec234127 Related to patch #9471: pbuf: Drop casting to u8_t for increment the reference count Cast to correct type: Needed to avoid warnings about integer cast (-Wconversion) SYS_ARCH_SET cannot be used here Dirk Ziegelmeier 2017-10-28 15:41:15 +02:00
  • 4a9e845a53 Fix bug #52300: Minor type in snmp_opts.h The comments for MIN and MAX need to be swapped Dirk Ziegelmeier 2017-10-28 15:37:22 +02:00
  • b953bd0393 docs: fix minor mis-spelling in sys.c Joel Cunningham 2017-10-27 15:31:35 -05:00
  • 283fec0a36 fixed copy&paste bug introduced in last commit goldsimon 2017-10-26 11:30:26 +02:00
  • 0f685e4fb5 Fixed bug #52279: httpd.c http_init_file() miss uri goldsimon 2017-10-25 21:58:53 +02:00
  • b296d2c7bb docs: update tcp_kill_prio same priority comments Joel Cunningham 2017-10-25 08:55:24 -05:00
  • b18e6a8734 sockets: fix missing break regression in event_callback Joel Cunningham 2017-10-23 09:05:57 -05:00
  • 22dacc38c0 Revert "Fix two bad "fall-through" code" Joel Cunningham 2017-10-23 08:59:43 -05:00
  • 98d5e06dba Silence gcc 7 warning about fall-through in case statement by adding a comment Dirk Ziegelmeier 2017-10-22 21:27:32 +02:00
  • a7f2ef4aec Fix two bad "fall-through" code Dirk Ziegelmeier 2017-10-22 21:26:57 +02:00
  • ddcf9cc764 Move all rawapi.txt to appropriate doxygen docs Dirk Ziegelmeier 2017-10-20 21:40:23 +02:00
  • 33ce04019d Move API description text from rawapi.txt to doxygen docs Dirk Ziegelmeier 2017-10-20 18:44:58 +02:00
  • a8edee8268 Move all text from sys_arch.txt to appropriate doxygen places Dirk Ziegelmeier 2017-10-20 18:20:25 +02:00
  • 9c175835d5 sockets: poll Open Group clean ups Joel Cunningham 2017-10-16 14:51:29 -05:00
  • 1960937df3 Enable support for MSG_DONTWAIT in lwip_recvmsg() Nate Karstens 2017-10-18 10:23:48 -05:00
  • f41b5b84b1 Try to fix build of bridgeif_fdb.c Dirk Ziegelmeier 2017-10-19 12:16:11 +02:00
  • cf07fddf96 lwip_poll_dec_sockets_used: remove unused SYS_ARCH_DECL_PROTECT(lev); goldsimon 2017-10-19 06:52:33 +02:00