Skip to content
Tcl Source Code View Ticket
Login

View Ticket

2004-10-27
02:49 • Closed ticket [557488ffff]: add '-keepalive' option to tcp channel driv... artifact: 282fde3486 user: andreas_kupries
02:31 • Open ticket [557488ffff]. artifact: 93f5626a93 user: davygrvy
02:02 • Ticket [557488ffff]: 8 changes artifact: c5d8c8d396 user: andreas_kupries
02:02 • Pending ticket [557488ffff]. artifact: 0ca6a8a971 user: andreas_kupries
2003-02-25
16:34 • Ticket [557488ffff]: 1 change artifact: 84e4f85453 user: dkf
2002-11-27
09:32 • Ticket [557488ffff]: 6 changes artifact: 40debcca30 user: davygrvy
2002-06-11
05:13 • Ticket [557488ffff]: 1 change artifact: ee0f8df37e user: davygrvy
2002-05-18
05:50 • Ticket [557488ffff]: 4 changes artifact: 771a63bdac user: davygrvy
05:50 • Add attachment patch.txt to ticket [557488ffff] artifact: dbe3b81fdc user: davygrvy
2002-05-17
22:50 • New ticket [557488ffff] add "-keepalive" otp to tcp chnl driver. artifact: 1d32274eae user: davygrvy

add '-keepalive' option to tcp channel driver.

Closed / Rejected557488ffffffffffffffffffffffffffffffffffCreated 25 years agoUpdated 22 years ago
Descriptionplain2002-05-17 22:50:18
Here's a "-keepalive" option added to the windows tcp 
channel driver.  Just windows is done.  Is this worth 
following through and adding for all with docs?
davygrvyplain2002-05-18 05:50:18
File Added - 23299: patch.txt
davygrvy Ticket [557488ffff]: 1 change [History diff]2002-06-11 05:13:45
davygrvyplain2002-11-27 09:32:30
Logged In: YES 
user_id=7549

was added to HEAD, but locked inside some comment 
blocks.
dkf Ticket [557488ffff]: 1 change [History diff]2003-02-25 16:34:53
andreas_kupries Pending ticket [557488ffff]. [History diff]2004-10-27 02:02:10
andreas_kupriesplain2004-10-27 02:02:11
Logged In: YES 
user_id=75003

Did a bit of talking on the chat. There it is considered not
truly worth of implementation, but something better done in
higher layers, i.e. application and protocol levels.

Please reopen if there is some defending argument for this.

[11:40]akuWhat are thoughts regarding 557488 ? In
principle it requires a TIP, because a new fconfigure option
is added. sockets only, windows only. What use has
SO_KEEPALIVE ? Is it useful for us to have this ?
[11:44]jenglishThe only places I've seen SO_KEEPALIVE used
have been cargo-culted.  It doesn't seem to be a useful
thing to set.
[11:45]akuOk, one indicator against.
[11:45]jenglish
http://www.unixguide.net/network/socketfaq/4.7.shtml 
explains the semantics.
[11:45]CameronI've experimented with SO_KEEPALIVE.  I
don't know of any real *use* in contemporary applications.
[11:48]akujoe - thanks ... reading ...
[11:53]akuWell, keep-alive seems to be well-meaning, and
sensible. OTOH I do not know of any app using it
[11:54]akuThe only place where I heard the same term is
for http, and there it just means that one conn is used for
more than one request.
[11:54]jenglishHTTP keep-alives are very different from
SO_KEEPALIVE.
[11:55]akuSee above, I ack this. It isjust the same term,
but nothing on the socket-level
[11:55]jenglishWell, not *very* different, the intent is
the same; but HTTP keep-alives are done at the application
level instead of in the transport layer.
[11:55]akuright
[11:56]jenglishAFAIK, the general consensus is that doing
it at the application level is preferable, since you have
more control.
[11:57]akuOk. I will take this from the chat, add it to
the report, lower the prio and then see if davidg responds
in defense
davygrvyplain2004-10-27 02:31:24
Logged In: YES 
user_id=7549

no prob.

there's a world of fun in all the setsockopt stuff.  It's
just too easy to implement ;)
andreas_kupries Closed ticket [557488ffff]. [History diff]2004-10-27 02:49:20
Log in (anonymous is fine) to add a comment.

Attachments: