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

C# client leaks sockets/handles

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9
    • 0.9.1
    • C# - Compiler, C# - Library
    • None
    • Patch Available

    Description

      The C# client code does not correctly clean up the transport used, so the programmer has to take care on his own about this. This may even lead to a program hang in certain scenarios. Furthermore, the generated client should support IDisposable.

      Note that in contrast, the server side handles this automatically without any explicit manual coding.

      TODO:

      • modify generated code to add IDisposable support
      • modify TProtocol to add IDisposable support
      • update the tutorial code accordingly

      Attachments

        Activity

          People

            jensg Jens Geyer
            jensg Jens Geyer
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: