commons-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From oglu...@apache.org
Subject svn commit: r377704 - in /jakarta/commons/proper/httpclient/branches/HTTPCLIENT_3_0_BRANCH: release_notes.txt src/java/org/apache/commons/httpclient/HttpState.java
Date Tue, 14 Feb 2006 11:48:31 GMT
Author: oglueck
Date: Tue Feb 14 03:48:29 2006
New Revision: 377704

URL: http://svn.apache.org/viewcvs?rev=377704&view=rev
Log:
PR: 38636

HttpState.clearCookies() should be synchronized

Submitted by: Peter Dolberg
Reviewed by: Oleg Kalnichevsky

Modified:
    jakarta/commons/proper/httpclient/branches/HTTPCLIENT_3_0_BRANCH/release_notes.txt
    jakarta/commons/proper/httpclient/branches/HTTPCLIENT_3_0_BRANCH/src/java/org/apache/commons/httpclient/HttpState.java

Modified: jakarta/commons/proper/httpclient/branches/HTTPCLIENT_3_0_BRANCH/release_notes.txt
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/branches/HTTPCLIENT_3_0_BRANCH/release_notes.txt?rev=377704&r1=377703&r2=377704&view=diff
==============================================================================
--- jakarta/commons/proper/httpclient/branches/HTTPCLIENT_3_0_BRANCH/release_notes.txt (original)
+++ jakarta/commons/proper/httpclient/branches/HTTPCLIENT_3_0_BRANCH/release_notes.txt Tue
Feb 14 03:48:29 2006
@@ -1,5 +1,8 @@
 Changes since Release 3.0:
-
+ 
+ * 38636 - Calling HttpState.clearCookies() is now safe from a different thread.
+           Contributed by Peter Dolberg <observewisdom at yahoo.com>
+ 
  * 38385 - Fixed NPE when creating URI from scheme specific part with null fragment
            Contributed by Michele Vivoda <vivodamichele at hotmail.com>
 

Modified: jakarta/commons/proper/httpclient/branches/HTTPCLIENT_3_0_BRANCH/src/java/org/apache/commons/httpclient/HttpState.java
URL: http://svn.apache.org/viewcvs/jakarta/commons/proper/httpclient/branches/HTTPCLIENT_3_0_BRANCH/src/java/org/apache/commons/httpclient/HttpState.java?rev=377704&r1=377703&r2=377704&view=diff
==============================================================================
--- jakarta/commons/proper/httpclient/branches/HTTPCLIENT_3_0_BRANCH/src/java/org/apache/commons/httpclient/HttpState.java
(original)
+++ jakarta/commons/proper/httpclient/branches/HTTPCLIENT_3_0_BRANCH/src/java/org/apache/commons/httpclient/HttpState.java
Tue Feb 14 03:48:29 2006
@@ -610,7 +610,7 @@
     /**
      * Clears all cookies.
      */
-    public void clearCookies() {
+    public synchronized void clearCookies() {
         this.cookies.clear();
     }
     



---------------------------------------------------------------------
To unsubscribe, e-mail: commons-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: commons-dev-help@jakarta.apache.org


Mime
View raw message