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

Go - Making concurrent connection resulting EOF

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 0.11.0
    • Fix Version/s: None
    • Component/s: Go - Library
    • Labels:
      None

      Description

      When i make concurrent function calls thrift returns error, but when i tried to modified the code to use closed connection it runs fine. I need to use keep-alive connection to make the request efficiently.

      snippet of my code : https://ghostbin.com/paste/ts3oo

      i don't know what went wrong with my code but, the EOF happens when i tried to make 2 services(different headers) and run them concurrently while using keep-alive connection, it is fine when i only use one service.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              ardh Fauzan Ardhana
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated: