hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r505909 - /jakarta/httpcomponents/httpcore/trunk/module-nio/src/main/java/org/apache/http/impl/nio/reactor/IOSessionImpl.java
Date Sun, 11 Feb 2007 12:00:19 GMT
Author: olegk
Date: Sun Feb 11 04:00:18 2007
New Revision: 505909

URL: http://svn.apache.org/viewvc?view=rev&rev=505909
Log:
Remove all session attributes when closing the session (just in case)

Modified:
    jakarta/httpcomponents/httpcore/trunk/module-nio/src/main/java/org/apache/http/impl/nio/reactor/IOSessionImpl.java

Modified: jakarta/httpcomponents/httpcore/trunk/module-nio/src/main/java/org/apache/http/impl/nio/reactor/IOSessionImpl.java
URL: http://svn.apache.org/viewvc/jakarta/httpcomponents/httpcore/trunk/module-nio/src/main/java/org/apache/http/impl/nio/reactor/IOSessionImpl.java?view=diff&rev=505909&r1=505908&r2=505909
==============================================================================
--- jakarta/httpcomponents/httpcore/trunk/module-nio/src/main/java/org/apache/http/impl/nio/reactor/IOSessionImpl.java
(original)
+++ jakarta/httpcomponents/httpcore/trunk/module-nio/src/main/java/org/apache/http/impl/nio/reactor/IOSessionImpl.java
Sun Feb 11 04:00:18 2007
@@ -147,6 +147,7 @@
         if (this.callback != null) {
             this.callback.sessionClosed(this);
         }
+        this.attributes.clear();
         if (this.key.selector().isOpen()) {
             this.key.selector().wakeup();
         }



Mime
View raw message