ASF Bugzilla – Attachment 12828 Details for
Bug 31356
Duplicate sessions counter not incremented in ManagerBase
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
diff to fix problem
ManagerBase-duplicates.txt (text/plain), 823 bytes, created by
Michael Leditschke
on 2004-09-22 07:16:03 UTC
(
hide
)
Description:
diff to fix problem
Filename:
MIME Type:
Creator:
Michael Leditschke
Created:
2004-09-22 07:16:03 UTC
Size:
823 bytes
patch
obsolete
>Index: ManagerBase.java >=================================================================== >RCS file: /home/cvspublic/jakarta-tomcat-catalina/catalina/src/share/org/apache/catalina/session/ManagerBase.java,v >retrieving revision 1.35 >diff -u -r1.35 ManagerBase.java >--- ManagerBase.java 7 Sep 2004 21:45:07 -0000 1.35 >+++ ManagerBase.java 22 Sep 2004 04:31:03 -0000 >@@ -799,8 +799,10 @@ > StringBuffer buffer = new StringBuffer(); > do { > int resultLenBytes = 0; >- if (result != null) >+ if (result != null) { >+ duplicates++; > buffer = new StringBuffer(); >+ } > while (resultLenBytes < this.sessionIdLength) { > getRandomBytes(random); > random = getDigest().digest(random);
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 31356
: 12828