goldsimon
|
98a58f9e67
|
tcp_input: move tcp_debug_print_state to prevent accessing pcb when it might already be deallocated due to calling tcp_abort in tcp_process.
|
2009-11-20 16:56:25 +00:00 |
|
kieranm
|
dee1d82c11
|
re-work the fast retransmission code to follow algorithm from TCP/IP
Illustrated
|
2009-10-29 15:48:57 +00:00 |
|
kieranm
|
71ddff4964
|
Fix BUG#27445: grow cwnd with every duplicate ACK
|
2009-10-28 15:13:51 +00:00 |
|
goldsimon
|
ae2dd38e0d
|
Another fix for bug #26251: RST process in TIME_WAIT TCP state
|
2009-10-25 11:45:11 +00:00 |
|
goldsimon
|
18ab274af3
|
Fixed bug #26251: RST process in TIME_WAIT TCP state
|
2009-10-22 13:37:44 +00:00 |
|
goldsimon
|
65d1f52423
|
Changed fix for bug #27215 (TCP sent() callback gives leagin and trailing 1 byte len (SYN/FIN)) by decreasing pcb->acked appropriately
|
2009-10-21 15:42:14 +00:00 |
|
goldsimon
|
b7d7559cc9
|
Fixed bug #27215: TCP sent() callback gives leadin and trailing 1 byte len (SYN/FIN)
|
2009-10-18 08:30:44 +00:00 |
|
goldsimon
|
d9a5094068
|
Fixed bug #27329: dupacks by unidirectional data transmit
|
2009-10-15 20:09:13 +00:00 |
|
kieranm
|
0b75917121
|
BUG27209: handle trimming of segments when out of window or out of
order properly
|
2009-08-12 08:34:48 +00:00 |
|
kieranm
|
fa2dbc2b1b
|
BUG27199: use snd_wl2 instead of snd_wl1
|
2009-08-12 08:32:14 +00:00 |
|
goldsimon
|
730a938912
|
Added debug print when rejecting incoming connections due to exceeded listen backlog
|
2009-07-28 17:04:04 +00:00 |
|
kieranm
|
c232edb83a
|
BUG26301 and BUG26267: correct simultaneous close behaviour, and make
snd_nxt have the same meaning as in the RFCs.
|
2009-06-25 09:57:36 +00:00 |
|
goldsimon
|
ac9e758f41
|
Patch #6823: tcp_in.c - small optimization
|
2009-05-06 17:30:18 +00:00 |
|
goldsimon
|
12c50ed87b
|
tcp_listen_input: format code for #if LWIP_TCP_TIMESTAMPS that calls tcp_enqueue like the other calls.
|
2009-04-19 12:17:59 +00:00 |
|
kieranm
|
f1a9f7ea70
|
BUG20515: rework way TCP window updates are calculated and sent
|
2009-03-31 14:23:40 +00:00 |
|
kieranm
|
4b14621208
|
TASK9218: add support for TCP timestamp options
|
2009-03-31 14:13:32 +00:00 |
|
kieranm
|
baf30f5eae
|
BUG20779: cope with SYN packets received during established states,
and retransmission of initial SYN.
|
2009-03-31 10:55:31 +00:00 |
|
kieranm
|
efac109803
|
BUG25622: handle return code of tcp_enqueue in tcp_listen_input()
|
2009-03-26 14:31:02 +00:00 |
|
goldsimon
|
aa568727d1
|
patch #6699: fixed some warnings on platform where sizeof(int) == 2
|
2008-12-19 18:08:29 +00:00 |
|
goldsimon
|
299e2a7077
|
fixed bug ##24596: Vulnerability on faulty TCP options length in tcp_parseopt
|
2008-10-18 15:24:06 +00:00 |
|
jifl
|
139944a3ac
|
* tcp_in.c: Fix for bug #23693 as suggested by Art R. Ensure cseg is unused
if tcp_seg_copy fails.
|
2008-06-24 15:46:38 +00:00 |
|
kieranm
|
24e0b25215
|
Remove redundant "if" statement, and use real rcv_wnd
rather than rcv_ann_wnd when deciding if packets are in-window.
Contributed by <arasmussen@consultant.datasys.swri.edu>
|
2008-05-30 12:21:29 +00:00 |
|
goldsimon
|
aee9c4c8e6
|
fixed bug #22249: division by zero could occur if a remote host sent a zero mss as TCP option.
|
2008-03-26 11:57:12 +00:00 |
|
fbernon
|
f02c39a402
|
tcp.c, tcp_in.c, tcp.h, opt.h: Rename LWIP_CALCULATE_EFF_SEND_MSS in TCP_CALCULATE_EFF_SEND_MSS to have coherent TCP options names.
|
2008-01-22 21:15:14 +00:00 |
|
fbernon
|
7518acf634
|
rawapi.txt, api_msg.c, tcp.c, tcp_in.c, tcp.h: changes for task #7675 "Enable to refuse data on a TCP_EVENT_RECV call". Important, behavior changes for the tcp_recv callback (see rawapi.txt).
|
2008-01-14 21:07:08 +00:00 |
|
fbernon
|
32005617b9
|
rawapi.txt, api.h, api_lib.c, api_msg.h, api_msg.c, sockets.c, tcp.h, tcp.c, tcp_in.c, init.c, opt.h: rename backlog options with TCP_ prefix, limit the "backlog" parameter in an u8_t, 0 is interpreted as "smallest queue", add documentation in the rawapi.txt file.
|
2008-01-04 22:18:27 +00:00 |
|
kieranm
|
99afb15ced
|
Add persist timer
|
2007-12-31 13:34:47 +00:00 |
|
goldsimon
|
1ed34774c8
|
tcp.h, opt.h, api.h, api_msg.h, tcp.c, tcp_in.c, api_lib.c, api_msg.c, sockets.c, init.c: task #7252: Implement TCP listen backlog: Warning: raw API applications have to call 'tcp_accepted(pcb)' in their accept callback to keep accepting new connections.
|
2007-12-21 16:47:56 +00:00 |
|
kieranm
|
add4874801
|
2007-12-20 Kieran Mansley (based on patch from Oleg Tyshev)
* tcp_in.c: fix bug# 21535 (nrtx not reset correctly in SYN_SENT stat)e
|
2007-12-20 14:58:43 +00:00 |
|
kieranm
|
8cc32bc29c
|
2007-12-20 Kieran Mansley (based on patch from Per-Henrik Lundbolm)
* tcp.c, tcp_in.c, tcp_out.c, tcp.h: fix bug #20199 (better handling
of silly window avoidance and prevent lwIP from shrinking the window)
|
2007-12-20 14:51:35 +00:00 |
|
goldsimon
|
a3ef33c56f
|
Removed debug code
|
2007-12-16 16:24:10 +00:00 |
|
goldsimon
|
d2fa5c91a7
|
Fix bug #21699: segment leak in ooseq processing when last data packet was lost (free last segment if FIN is already received)
|
2007-12-13 20:24:39 +00:00 |
|
goldsimon
|
8d3d08e814
|
fix bug #21699 (segment leak in ooseq): add assert that all segment lists are empty in tcp_pcb_remove before setting pcb to CLOSED state; don't directly set CLOSED state from LAST_ACK in tcp_process
|
2007-12-04 20:41:12 +00:00 |
|
goldsimon
|
f57c2424cf
|
Fixed bug #21582: pcb->acked accounting can be wrong when ACKs arrive out-of-order
|
2007-11-26 19:08:39 +00:00 |
|
goldsimon
|
95425552d7
|
Implemented calculating the effective send-mss based on the MTU of the netif used to send. Enabled by default. Disable by setting LWIP_CALCULATE_EFF_SEND_MSS to 0. This fixes bug #21535.
|
2007-11-21 18:37:23 +00:00 |
|
goldsimon
|
1faf0ab9e3
|
Moved inet files into ipv4/ipv6 directory; splitted inet.c/inet.h into inet and chksum part; changed includes in all lwIP files as appropriate
|
2007-11-16 19:31:10 +00:00 |
|
goldsimon
|
2d5908f4de
|
Fixed bug #21494: The send mss (pcb->mss) is set to 536 (or TCP_MSS if that is smaller) as long as no MSS option is received from the remote host.
|
2007-11-01 16:53:43 +00:00 |
|
goldsimon
|
298d5cf042
|
Fixed bug #21491: The MSS option sent (with SYN) is now based on TCP_MSS instead of pcb->mss (on passive open now effectively sending our configured TCP_MSS instead of the one received).
|
2007-11-01 16:23:32 +00:00 |
|
goldsimon
|
853765954e
|
Fixed bug #21181: On active open, the initial congestion window was calculated based on the configured TCP_MSS, not on the MSS option received with SYN+ACK.
|
2007-11-01 15:51:43 +00:00 |
|
goldsimon
|
7a99d73092
|
Added some explaining comments.
|
2007-10-28 17:43:21 +00:00 |
|
fbernon
|
e3cd1ac1f9
|
Minor changes (but in lot of files): add #if/#endif for options where they could miss. #if LWIP_xxx if always put after #include "lwip/opt.h" (note this one indirectly include cc.h). Move others includes inside #if/#endif block.
|
2007-09-07 23:01:59 +00:00 |
|
fbernon
|
4f76bc42d7
|
Rename pbuf's "flgs" in "flags" (see in [lwip-devel] Last changes by Marc)
|
2007-08-20 19:15:43 +00:00 |
|
fbernon
|
2be122875a
|
Minor changes (tabs, ident, coding style...)
|
2007-08-17 00:30:27 +00:00 |
|
marcbou
|
4236699052
|
Split pbuf flags in pbuf type and flgs.
Improved lwip_recvfrom(). TCP push now propagated.
|
2007-08-16 20:22:15 +00:00 |
|
kieranm
|
a6ca9aa306
|
* tcp_in.c: Fix for bug #19953 - correct TCP state machine when
* receiving FIN+ACK in SYN_RECV state
|
2007-08-16 15:57:31 +00:00 |
|
fbernon
|
40ef282982
|
Minor change: add in tcp_in.c in tcp_input(), some calls to handle error statistics (stats & snmp)
|
2007-08-14 18:01:34 +00:00 |
|
fbernon
|
9152d6671c
|
Comments Fix for Doxygen documentation
|
2007-08-09 22:21:44 +00:00 |
|
fbernon
|
fdc4c25e67
|
Minor fix (warnings on unused args, wrong type, cast u32_t to u16_t...)
|
2007-08-01 13:41:31 +00:00 |
|
goldsimon
|
9eff9676e9
|
Fix bug #20506: Slow start / initial congestion window starts with 2 * mss (instead of 1 * mss previously) to comply with some newer RFCs and other stacks.
|
2007-07-25 07:31:29 +00:00 |
|
fbernon
|
a2dffd430b
|
Fix minor patch #5741 build error...
|
2007-07-13 13:12:07 +00:00 |
|