ASF Bugzilla – Attachment 27643 Details for
Bug 51919
Random ConcurrentModificationException or NoSuchElementException in CookieManager#removeMatchingCookies when using Concurrent Download
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix to the issue
BUG_51918.patch (text/plain), 1.02 KB, created by
Philippe Mouawad
on 2011-09-30 07:43:39 UTC
(
hide
)
Description:
Fix to the issue
Filename:
MIME Type:
Creator:
Philippe Mouawad
Created:
2011-09-30 07:43:39 UTC
Size:
1.02 KB
patch
obsolete
>Index: src/protocol/http/org/apache/jmeter/protocol/http/control/CookieManager.java >=================================================================== >--- src/protocol/http/org/apache/jmeter/protocol/http/control/CookieManager.java (revision 1176336) >+++ src/protocol/http/org/apache/jmeter/protocol/http/control/CookieManager.java (working copy) >@@ -381,7 +381,7 @@ > } > > >- public void addCookieFromHeader(String cookieHeader, URL url){ >+ public synchronized void addCookieFromHeader(String cookieHeader, URL url){ > boolean debugEnabled = log.isDebugEnabled(); > if (debugEnabled) { > log.debug("Received Cookie: " + cookieHeader + " From: " + url.toExternalForm()); >@@ -459,7 +459,7 @@ > a.getDomain().equals(b.getDomain()); > } > >- private void removeMatchingCookies(Cookie newCookie){ >+ private synchronized void removeMatchingCookies(Cookie newCookie){ > // Scan for any matching cookies > PropertyIterator iter = getCookies().iterator(); > while (iter.hasNext()) {
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 51919
:
27636
|
27643
|
27654
|
27656
|
27657
|
27716