Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-16350

Fix buffering output flush, linked to transaction problems

    XMLWordPrintable

    Details

      Description

      We buffer the HTTP response until after transaction commit time using BufferingHttpServletResponse in order to make sure that a client sending two requests in a row sees consistent state.

      In Chemistry the AtomPub and Browser servlets do a response.flushBuffer() in their servlet which currently bypasses BufferingHttpServletResponse. This is incorrect because this may send a result to the client too early. This happens for instance for a 204 (No Content) for which the client won't wait for more.

      So BufferingHttpServletResponse must also intercept flushBuffer.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved:

                  PagerDuty

                  Error rendering 'com.pagerduty.jira-server-plugin:PagerDuty'. Please contact your Jira administrators.