hc-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ol...@apache.org
Subject svn commit: r650272 - /httpcomponents/httpcore/trunk/module-nio/src/main/java/org/apache/http/impl/nio/NHttpConnectionBase.java
Date Mon, 21 Apr 2008 21:19:11 GMT
Author: olegk
Date: Mon Apr 21 14:19:09 2008
New Revision: 650272

URL: http://svn.apache.org/viewvc?rev=650272&view=rev
Log:
Make IOSession attribute non-final, so it could be overwritten when upgrading to TLS/1.0 protocol.


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

Modified: httpcomponents/httpcore/trunk/module-nio/src/main/java/org/apache/http/impl/nio/NHttpConnectionBase.java
URL: http://svn.apache.org/viewvc/httpcomponents/httpcore/trunk/module-nio/src/main/java/org/apache/http/impl/nio/NHttpConnectionBase.java?rev=650272&r1=650271&r2=650272&view=diff
==============================================================================
--- httpcomponents/httpcore/trunk/module-nio/src/main/java/org/apache/http/impl/nio/NHttpConnectionBase.java
(original)
+++ httpcomponents/httpcore/trunk/module-nio/src/main/java/org/apache/http/impl/nio/NHttpConnectionBase.java
Mon Apr 21 14:19:09 2008
@@ -75,7 +75,6 @@
 public class NHttpConnectionBase 
         implements NHttpConnection, HttpInetConnection, SessionBufferStatus {
 
-    protected final IOSession session;
     protected final HttpContext context;
     
     protected final ContentLengthStrategy incomingContentStrategy;
@@ -88,6 +87,7 @@
     protected final HttpTransportMetricsImpl outTransportMetrics;
     protected final HttpConnectionMetricsImpl connMetrics;
     
+    protected IOSession session;
     protected volatile ContentDecoder contentDecoder;
     protected volatile boolean hasBufferedInput;
     protected volatile ContentEncoder contentEncoder;



Mime
View raw message