Skip to content

Commit

Permalink
Since chain has completed, remove buffer attribute so future error fo…
Browse files Browse the repository at this point in the history
…rward requests can be buffered.
  • Loading branch information
codeconsole committed Oct 8, 2024
1 parent bf2d1db commit 8d2f721
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -192,6 +192,7 @@ public void preCommit() {
}

filterChain.doFilter(wrapRequest(request), responseBuffer);
request.setAttribute(SITEMESH_BUFFER_ATTRIBUTE, null);

if (request.getAttribute(SITEMESH_DECORATED_ATTRIBUTE) != null) {
return;
Expand Down

0 comments on commit 8d2f721

Please sign in to comment.