You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2021/04/09 23:29:00 UTC

[jira] [Commented] (GEODE-8221) Session state not committed prior to servlet output flush with commit valve enabled

    [ https://issues.apache.org/jira/browse/GEODE-8221?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17318379#comment-17318379 ] 

ASF subversion and git services commented on GEODE-8221:
--------------------------------------------------------

Commit 4f63dda7f0cb3dfb08547e056c1640d1ad840325 in geode's branch refs/heads/support/1.12 from Jacob Barrett
[ https://gitbox.apache.org/repos/asf?p=geode.git;h=4f63dda ]

GEODE-8221: Refactor tests to run in appropriate projects. (#5244)

(cherry picked from commit cb5990cd437244bc0ac8abdc6e12552e686e7c7a)


> 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.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)