Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c5d8c8d396c26a82f954a3a96b65cc66b39b0196
Ticket: 557488ffffffffffffffffffffffffffffffffff
add '-keepalive' option to tcp channel driver.
User & Date: andreas_kupries on 2004-10-27 02:02:11
Changes

  1. closedate changed to: "2004-10-26T19:02:11"
  2. closer changed to: "andreas_kupries"
  3. icomment:
    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
    
    
  4. login: "andreas_kupries"
  5. mimetype: "text/plain"
  6. priority changed to: "1 Zero"
  7. resolution changed to: "Rejected"
  8. username: "andreas_kupries"