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

TJSONProtocol.Flush() does not really flush the transport

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.1
    • 0.9.2
    • Go - Library
    • None
    • Patch Available

    Description

      The Flush() method of all protocols calls transport.Flush(), except for JSON, leading to a failure in some cases (e.g. with HTTP). The service call fails with EOF on recvResponse(), because the request has never been sent to the server, thus no response.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: