ASF Bugzilla – Attachment 25171 Details for
Bug 48973
Don't create SESSIONS.ser when no session exists
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
Patch skiping SESSIONS.ser file creation if no session exists
patchDontCreateFileIfNoSessions.txt (text/plain), 644 bytes, created by
Marc Guillemot
on 2010-03-24 09:22:46 UTC
(
hide
)
Description:
Patch skiping SESSIONS.ser file creation if no session exists
Filename:
MIME Type:
Creator:
Marc Guillemot
Created:
2010-03-24 09:22:46 UTC
Size:
644 bytes
patch
obsolete
>Index: java/org/apache/catalina/session/StandardManager.java >=================================================================== >--- java/org/apache/catalina/session/StandardManager.java (revision 926567) >+++ java/org/apache/catalina/session/StandardManager.java (working copy) >@@ -476,6 +476,11 @@ > > if (log.isDebugEnabled()) > log.debug("Unloading persisted sessions"); >+ >+ if (sessions.isEmpty()) { >+ log.debug("No persisted sessions to unload"); >+ return; // nothing to do >+ } > > // Open an output stream to the specified pathname, if any > File file = file();
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 48973
: 25171