Uploaded image for project: 'Thrift'
  1. Thrift
  2. THRIFT-1523

clientTimeout not worked as expected in TServerSocket created by TSSLTransportFactory

    Details

    • Type: Bug
    • Status: Closed
    • Priority: 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

        Attachments

        1. clientTimeout.patch
          0.5 kB
          Alexey Sviridov

          Activity

            People

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

              Dates

              • Created:
                Updated:
                Resolved: