[
https://issues.apache.org/jira/browse/GEODE-8221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17320215#comment-17320215
]
ASF subversion and git services commented on GEODE-8221:
--------------------------------------------------------
Commit 8c849ec535540d1643369f59b5653aed5ba809cb in geode's branch
refs/heads/support/1.13 from Jacob Barrett
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=8c849ec ]
GEODE-8221: Commits session data prior to sending output to browser (#5246)
* Refactors abstraction of CommitSessionValve.
* Wraps Coyote OutputBuffer to commit sessions when data is sent to client.
(cherry picked from commit 9939cc0f2f1caad051bd104a0a06a4e1737d3830)
> Session state not committed prior to servlet output flush with commit valve
> enabled
> -----------------------------------------------------------------------------------
>
> Key: GEODE-8221
> URL: https://issues.apache.org/jira/browse/GEODE-8221
> Project: Geode
> Issue Type: Bug
> Components: http session
> Reporter: Jacob Barrett
> Assignee: Jacob Barrett
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.12.2, 1.14.0
>
>
> The Tomcat session state module does not commit session data to Geode prior
> to servlet output flushing to browser if commit valve is enabled. The commit
> valve delays the commit of session state until the of the request scope prior
> to closing and ending the current request with the browser. This can result
> in some data being sent to the browser asynchronously with the session state
> persistence. If the servlet or JSP invokes a flush on output stream, write or
> response either explicitly through the flush method or implicitly because of
> full buffers then the browser may receive data that instructs it to make
> another request. This subsequent request may receive the currently committed
> session state prior to the completion of the initial request.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)