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

TServerSocket close() method - inheritance problem

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.1
    • Component/s: Python - Library
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      I was unable to close transport layer (TServerSocket). I have examined library and I have found little problem (my opinion) in TServerSocket inheritance. TServerSocket inherits from TServerTransportBase and TSocketBase. close() method is inherited from TServerTransportBase and this method is just dummy method. Real method (which closes the socket) in TSocketBase is hidden.

        Attachments

        1. thrift-server-socket.patch
          0.5 kB
          Alexander Shigin

          Activity

            People

            • Assignee:
              shigin Alexander Shigin
              Reporter:
              franis.sirkovic Franis Sirkovic
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: