Thrift
  1. Thrift
  2. THRIFT-1523

clientTimeout not worked as expected in TServerSocket created by TSSLTransportFactory

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Blocker Blocker
    • Resolution: Fixed
    • Affects Version/s: 0.6.1, 0.7, 0.8, 0.9
    • Fix Version/s: 0.9
    • Component/s: Java - Library
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      TSSLTransportFactory has method

      public static TServerSocket getServerSocket(int port, int clientTimeout)

      there is parameter clientTimeout that need to close idle client connections (after clientTimeout amount of millis of client inactivity server closes opened connection themself, not waiting while client called close() method). This parameter work fine when create TServerSocket through new, but not working at all when creating TServerSocket through TSSLTransportFactory.getServerSocket

      1. clientTimeout.patch
        0.5 kB
        Alexey Sviridov

        Activity

        No work has yet been logged on this issue.

          People

          • Assignee:
            Alexey Sviridov
            Reporter:
            Alexey Sviridov
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development