Uploaded image for project: 'HttpComponents HttpCore'
  1. HttpComponents HttpCore
  2. HTTPCORE-277

Please expose TCP keep-alive (SO_KEEPALIVE)

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 4.2-beta1
    • None
    • None

    Description

      It would be useful if it was possible to turn on TCP keep-alive (java.net.Socket.setKeepAlive) for a connection used for long polling (aka comet).

      Some users these days are behind NAT routers that kill idle connections after as little as 5 minutes. TCP keep-alive could be a solution to keep long poll connections alive (and idle) longer than 5 minutes.

      Attachments

        1. keepalive.diff
          3 kB
          Alin Vasile

        Activity

          People

            Unassigned Unassigned
            drharibo Geir Harald Hansen
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: