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

clientTimeout not worked as expected in TServerSocket created by TSSLTransportFactory

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Blocker
    • Resolution: Fixed
    • 0.6.1, 0.7, 0.8, 0.9
    • 0.9
    • Java - Library
    • None
    • 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

            sviridov_alexey Alexey Sviridov
            sviridov_alexey Alexey Sviridov
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: