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

ObjectDisposedException in TSocket when sending rapidly

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 0.9.1
    • 0.9.2
    • C# - Library
    • None
    • Patch Available

    Description

      Test code opens a connection, fires one request, then closes the connection in a loop. In my environment, i get an ObjectDisposedException for a socket object in TSocket.cs after a few hundred requests. I'm not sure what causes this, i suspect some underlying socket reusing.

      Attached patch fixes the issue.

      If you require more info to accept this, i cannot promise that i will be able to deliver that.

      Attachments

        1. thrift-2719-fix.patch
          0.5 kB
          Nils Hügelmann

        Issue Links

          Activity

            People

              jensg Jens Geyer
              nilshu Nils Hügelmann
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: