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

TBaseAsyncProcessor fb.responseReady() never called for oneway functions

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.9.3
    • 0.10.0
    • Java - Library
    • java libthrift-0.9.3

    • 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

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

            Dates

              Created:
              Updated:
              Resolved: