FreeBSD Bugzilla – Attachment 50183 Details for
Bug 76504
Keep-alives doesn't work on half-closed sockets.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 424 bytes, created by
Dmitrij Tejblum
on 2005-01-20 15:00:40 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Dmitrij Tejblum
Created:
2005-01-20 15:00:40 UTC
Size:
424 bytes
patch
obsolete
>--- tcp_timer.c Mon Jan 17 15:06:36 2005 >+++ tcp_timer.c Thu Jan 20 16:24:11 2005 >@@ -336,7 +336,7 @@ > if (tp->t_state < TCPS_ESTABLISHED) > goto dropit; > if ((always_keepalive || inp->inp_socket->so_options & SO_KEEPALIVE) && >- tp->t_state <= TCPS_CLOSING) { >+ (tp->t_state <= TCPS_CLOSING || tp->t_state == TCPS_FIN_WAIT_2)) { > if ((ticks - tp->t_rcvtime) >= tcp_keepidle + tcp_maxidle) > goto dropit; > /*
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 76504
: 50183