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

TBaseAsyncProcessor fb.responseReady() never called for oneway functions

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 0.9.3
    • Fix Version/s: 0.10.0
    • Component/s: Java - Library
    • Labels:
    • Environment:

      java libthrift-0.9.3

    • Patch Info:
      Patch Available

      Description

      For regular service functions, fb.responseReady() is called from generated AsyncProcessFunction's sendResponse(...). Precisely in its result handler's AsyncMethodCallback onComplete or onError implementations. Because oneway methods have void result handler's onComplete and onError implementations, responseReady is not called and frame buffer never goes back to reading state.

        Attachments

        1. responseReadyPatch.patch
          0.5 kB
          Jan Sileny

          Activity

            People

            • Assignee:
              nsuke Nobuaki Sukegawa
              Reporter:
              jan.sileny@gmail.com Jan Sileny
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: