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

ObjectDisposedException in TSocket when sending rapidly

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Duplicate
    • Affects Version/s: 0.9.1
    • Fix Version/s: 0.9.2
    • Component/s: C# - Library
    • Labels:
      None
    • Patch Info:
      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

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

                Dates

                • Created:
                  Updated:
                  Resolved: