ASF Bugzilla – Attachment 25333 Details for
Bug 49170
Transmission of duplicated session in DeltaManager#handleGET_ALL_SESSIONS.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patch against trunk.
patch.txt (text/plain), 1.22 KB, created by
Keiichi Fujino
on 2010-04-22 06:54:01 UTC
(
hide
)
Description:
patch against trunk.
Filename:
MIME Type:
Creator:
Keiichi Fujino
Created:
2010-04-22 06:54:01 UTC
Size:
1.22 KB
patch
obsolete
>Index: java/org/apache/catalina/ha/session/DeltaManager.java >=================================================================== >--- java/org/apache/catalina/ha/session/DeltaManager.java (revision 928554) >+++ java/org/apache/catalina/ha/session/DeltaManager.java (working copy) >@@ -1463,10 +1463,9 @@ > sendSessions(sender, currentSessions, findSessionTimestamp); > } else { > // send session at blocks >- int len = currentSessions.length < getSendAllSessionsSize() ? currentSessions.length : getSendAllSessionsSize(); >- Session[] sendSessions = new Session[len]; > for (int i = 0; i < currentSessions.length; i += getSendAllSessionsSize()) { >- len = i + getSendAllSessionsSize() > currentSessions.length ? currentSessions.length - i : getSendAllSessionsSize(); >+ int len = i + getSendAllSessionsSize() > currentSessions.length ? currentSessions.length - i : getSendAllSessionsSize(); >+ Session[] sendSessions = new Session[len]; > System.arraycopy(currentSessions, i, sendSessions, 0, len); > sendSessions(sender, sendSessions,findSessionTimestamp); > if (getSendAllSessionsWaitTime() > 0) {
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 49170
: 25333