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

Pull generated send/recv into library to allow behaviour to be customised

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 0.11.0
    • Component/s: Go - Compiler, Go - Library
    • Labels:
      None
    • Patch Info:
      Patch Available

      Description

      Currently it is difficult to change how thrift writes messages onto the transport because they are in the generated code. Instead the generated send/recv methods should be in the library. This will greatly simplify the client code and remove many duplicate methods whilst allowing users more flexibility to implement connection pools and other features such as THeader.

        Attachments

          Activity

            People

            • Assignee:
              dcelasun Duru Can Celasun
              Reporter:
              Zariel Chris Bannister
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: