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

Go - Making concurrent connection resulting EOF

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Major
    • Resolution: Unresolved
    • 0.11.0
    • None
    • Go - Library
    • 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

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

            Dates

              Created:
              Updated: