Uploaded image for project: 'RESTEasy'
  1. RESTEasy
  2. RESTEASY-2996

Reactor netty server adapter mix up response bytes for AsyncOutputStream write

    XMLWordPrintable

Details

    Description

      The shared byte array here is passed on to the NettyOutbound#sendByteArray to write the response here.  

      As the future is completed prematurely without relying on the actual completion of the consumption of the byte array by the sendByteArray, the byte array is loaded with the next chunk while the NettyOutbound#sendByteArray is using the same byte array reference to write the response and this is causing incomplete response writes. 

      Attachments

        Activity

          People

            Unassigned Unassigned
            dnagarajan89 DHANESH NAGARAJAN (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: