Commit Graph

648 Commits

Author SHA1 Message Date
Simon Goldschmidt
d8f090a759 fixed bug #34517 (persist timer is started although no zero window is received) by starting the persist timer when a zero window is received, not when we have more data queued for sending than fits into the window 2011-12-13 22:05:00 +01:00
Simon Goldschmidt
bd0a664446 fixed bug #34541: LWIP_U32_DIFF is unnecessarily complex: removed that define 2011-12-13 22:03:03 +01:00
Simon Goldschmidt
aafa00f3aa fixed bug #34540: compiler error when CORE_LOCKING is used and not all protocols are enabled 2011-12-13 21:49:19 +01:00
Simon Goldschmidt
dbbd161219 fixed bug #34534: Error in sending fragmented IP if MEM_ALIGNMENT > 4 2011-12-12 20:12:53 +01:00
Simon Goldschmidt
56cee6b4d8 fixed bug #34426: tcp_zero_window_probe() transmits incorrect byte value when pcb->unacked != NULL 2011-12-11 19:54:43 +01:00
Simon Goldschmidt
277c7aa518 fixed bug #34447 LWIP_IP_ACCEPT_UDP_PORT(dst_port) wrong 2011-12-11 19:54:09 +01:00
Simon Goldschmidt
5cfef5bf48 Tried to fix bug #32417 ("TCP_OVERSIZE seems to have problems with (fast-)retransmission"): Reset pcb->unsent_oversize in 2 more places... 2011-12-11 19:46:21 +01:00
Simon Goldschmidt
ca6fd6015c Implemented limiting data on ooseq queue (task #9989) (define TCP_OOSEQ_MAX_BYTES / TCP_OOSEQ_MAX_PBUFS in lwipopts.h), added unit test for this new feature 2011-12-11 19:45:59 +01:00
Simon Goldschmidt
eff10f6458 fixed bug #28288: Data after FIN in oos queue 2011-12-11 19:45:29 +01:00
goldsimon
9c3a6b828f bug #34406 dhcp_option_hostname() can overflow the pbuf 2011-12-11 19:45:07 +01:00
Simon Goldschmidt
5715469d26 fixed bug #34377 MEM_SIZE_F is not defined if MEM_LIBC_MALLOC==1 2011-12-11 19:44:01 +01:00
Simon Goldschmidt
140eb22cf0 fixed bug #33871: rejecting TCP_EVENT_RECV() for the last packet including FIN can lose data 2011-12-11 19:43:40 +01:00
Simon Goldschmidt
45a3f198e8 fixed bug #34355: nagle does not take snd_buf/snd_queuelen into account 2011-12-11 19:36:03 +01:00
Simon Goldschmidt
3d48abb98d Implemented timeout on send (TCP only, bug #33820) 2011-12-11 19:30:05 +01:00
Simon Goldschmidt
223307fa38 fixed default value of TCP_SND_BUF to not violate the sanity checks in init.c 2011-12-11 19:29:39 +01:00
Simon Goldschmidt
c951ab8cee Converted runtime-sanity-checks into compile-time checks that can be disabled (since runtime checks can often not be seen on embedded targets) 2011-12-11 19:28:51 +01:00
goldsimon
81a49a437a fixed bug #34337 (possible NULL pointer in sys_check_timeouts) 2011-12-11 19:28:11 +01:00
Simon Goldschmidt
5460900b14 splitted ppp.h to an internal and external header file to get a clear separation of which functions an application or port may use (task #11281) 2011-12-11 19:24:16 +01:00
Simon Goldschmidt
2576a2e565 use pcb->mss instead of TCP_MSS for preallocate mss-sized pbufs (bug #34019) 2011-12-11 19:18:45 +01:00
Simon Goldschmidt
49369cc9ce Added a config option to randomize initial local TCP/UDP ports (so that different port ranges are used after a reboot; bug #33818; this one added tcp_init/udp_init functions again);
fixed a possible endless loop in tcp_new_port() if the number of active PCBs exceeds the number of available ports;
2011-12-11 19:18:09 +01:00
Simon Goldschmidt
72e2d16f14 fixed bug #34072: UDP broadcast is received from wrong UDP pcb if udp port matches 2011-12-11 19:15:35 +01:00
Simon Goldschmidt
378bed8a03 DHCP uses LWIP_RAND() for xid's (bug #30302) 2011-12-11 18:50:36 +01:00
Simon Goldschmidt
9a1eeeea67 fixed bug #33952 PUSH flag in incoming packet is lost when packet is aggregated and sent to application 2011-12-11 18:49:50 +01:00
Simon Goldschmidt
adb2aeb10f fixed bug #31809 LWIP_EVENT_API in opts.h is inconsistent compared to other options 2011-12-11 18:47:23 +01:00
Simon Goldschmidt
a030b741a5 fixed bug #34111 RST for ACK to listening pcb has wrong seqno 2011-12-11 18:46:34 +01:00
Simon Goldschmidt
b1359f1c80 added netif remove callback (bug #32397) 2011-12-06 22:10:00 +01:00
Simon Goldschmidt
422e7963de fixed bug #33956 Wrong error returned when calling accept() on UDP connections 2011-12-06 22:07:08 +01:00
Simon Goldschmidt
e2cdf0d39d fixed bug #34057 socklen_t should be a typedef 2011-12-06 22:06:25 +01:00
Simon Goldschmidt
2fe1af0d05 fixed bug #34112 Odd check in pbuf_alloced_custom (typo) 2011-12-06 22:05:54 +01:00
Simon Goldschmidt
ff85feb22d fixed bug #34122 dhcp: hostname can overflow 2011-12-06 22:05:15 +01:00
Simon Goldschmidt
be191148e0 fixed bug #34121 netif_add/netif_set_ipaddr fail on NULL ipaddr 2011-12-06 22:04:45 +01:00
Simon Goldschmidt
626131fb28 fixed bug #33962 TF_FIN not always set after FIN is sent. (This merely prevents nagle from not transmitting fast after closing.) 2011-12-06 22:04:01 +01:00
Simon Goldschmidt
d154f5c653 ETHARP_SUPPORT_VLAN: add support for an external VLAN filter function instead of only checking for one VLAN (define ETHARP_VLAN_CHECK_FN) 2011-12-06 22:01:15 +01:00
Simon Goldschmidt
b1980b36b8 fixed bug #31084 (socket API returns always EMSGSIZE on non-blocking sockets if data size > send buffers) -> now lwip_send() sends as much as possible for non-blocking sockets and only returns EWOULDBLOCK if the buffers are full 2011-12-06 21:44:53 +01:00
Simon Goldschmidt
1ac0c90ec4 forgot CHANGELOG: freeing ooseq pbufs when the pbuf pool is empty implemented for NO_SYS==1: when not using sys_check_timeouts(), call PBUF_CHECK_FREE_OOSEQ() at regular intervals from main level. 2011-12-06 21:40:03 +01:00
Simon Goldschmidt
be412dc042 fixed bug #33551 (ARP entries may time out although in use) by sending an ARP request when an ARP entry is used in the last minute before it would time out. 2011-12-06 21:37:01 +01:00
goldsimon
a7f7762302 Fixed documentation after changing sys arch prototypes for 1.4.0 2011-12-06 21:32:38 +01:00
goldsimon
211b8be07d fixed bug #31723 (tcp_kill_prio() kills pcbs with the same prio) by updating its documentation only. 2011-12-06 21:29:33 +01:00
goldsimon
22ee104a04 fixed bug #33545: With MEM_USE_POOLS==1, mem_malloc can return an unaligned pointer. 2011-12-06 21:28:36 +01:00
goldsimon
49e16fcbe9 Fixed bug #33544 (warning in mem.c in lwip 1.4.0 with NO_SYS=1) 2011-12-05 21:23:56 +01:00
goldsimon
8b06c61a70 fixed bug #33398 (pointless conversion when checking TCP port range) 2011-12-05 20:58:51 +01:00
goldsimon
a444ec5111 patch #7449 allow tcpip callback from interrupt with static memory message 2011-05-14 12:23:10 +00:00
kieranm
3a267586f4 Update CHANGELOG and version numbers for 1.4.0 release 2011-05-06 08:48:37 +00:00
goldsimon
036cb26fa3 sys_arch_timeouts() is not needed any more. 2011-04-20 11:31:07 +00:00
goldsimon
33d6dcec5b Fixed bug #33048 (Bad range for IP source port numbers) by using ports in the IANA private/dynamic range (49152 through 65535). 2011-04-13 17:52:00 +00:00
goldsimon
0885555521 Fixed broken VLAN support. 2011-03-29 18:56:26 +00:00
goldsimon
11b1c9f19f Fixed bug #32926 (TCP_RMV(&tcp_bound_pcbs) is called on unbound tcp pcbs) by checking if the pcb was bound (local_port != 0). 2011-03-27 17:12:26 +00:00
goldsimon
b5dd87b184 Fixed bug #32280 (ppp: a pbuf is freed twice) 2011-03-27 13:58:26 +00:00
goldsimon
b54c7bedfd Fixed bug #32906: lwip_connect+lwip_send did not work for udp and raw pcbs with LWIP_TCPIP_CORE_LOCKING==1. 2011-03-27 13:36:32 +00:00
goldsimon
3bad9f013e Fixed bug #32820 (Outgoing TCP connections created before route is present never times out) by starting retransmission timer before checking route. 2011-03-27 13:00:54 +00:00