Uploaded image for project: 'CXF'
  1. CXF
  2. CXF-4303

WS-RM fails when the GZIP feature is enabled

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.5.3
    • 2.5.4, 2.6.1
    • WS-* Components
    • None
    • Unknown

    Description

      When the GZIP feature is enabled for WS-RM, the client (i.e., RMSource) sends a message gzipped for its initial transmission correctly. However, for its retransmission in case some error, it resends the non-gzipped content with the gzip content encoding header. And this will lead to a permanent error for the retransmitted messgaes, as the server fails to find the gzipped content.

      The current retransmission mechanism is somewhat limited and simply uses those messages captured by the output filter for retries, instead of rewinding the phase and reprocess some of the interceptor steps (e.g., ws-security) using the earlier representation of the message. Thus, there will be some change in the retransmission implementation in the future.

      This patch will fix this particular gzip issue for the current retransmission implementation and include a test case that can validate against the current or a future retransmission mechanism.

      Concretely, I am moving the retransmission interceptor forward to capture the gzipped stream if the gzip feature is enabled so that the retransmission can take place directly with the gzipped content.

      Attachments

        Activity

          People

            ay Akitoshi Yoshida
            ay Akitoshi Yoshida
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: