You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by re...@apache.org on 2014/11/10 19:09:39 UTC

svn commit: r1637949 - /tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java

Author: remm
Date: Mon Nov 10 18:09:39 2014
New Revision: 1637949

URL: http://svn.apache.org/r1637949
Log:
Fix apparent issue with a non final field.

Modified:
    tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java

Modified: tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java
URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java?rev=1637949&r1=1637948&r2=1637949&view=diff
==============================================================================
--- tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java (original)
+++ tomcat/trunk/java/org/apache/tomcat/util/net/Nio2Endpoint.java Mon Nov 10 18:09:39 2014
@@ -788,7 +788,7 @@ public class Nio2Endpoint extends Abstra
                     if (nBytes.intValue() < 0) {
                         failed(new EOFException(), attachment);
                     } else if (attachment.hasRemaining()) {
-                        channel.write(attachment, getTimeout(),
+                        getSocket().write(attachment, getTimeout(),
                                 TimeUnit.MILLISECONDS, attachment, completionHandlerWrite);
                     } else {
                         writePending.release();



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