Author: markt Date: Tue Oct 15 14:57:40 2013 New Revision: 1532373 URL: http://svn.apache.org/r1532373 Log: Use correct limits when writing SSL data
Modified: tomcat/trunk/java/org/apache/coyote/http11/upgrade/AprServletOutputStream.java Modified: tomcat/trunk/java/org/apache/coyote/http11/upgrade/AprServletOutputStream.java URL: http://svn.apache.org/viewvc/tomcat/trunk/java/org/apache/coyote/http11/upgrade/AprServletOutputStream.java?rev=1532373&r1=1532372&r2=1532373&view=diff ============================================================================== --- tomcat/trunk/java/org/apache/coyote/http11/upgrade/AprServletOutputStream.java (original) +++ tomcat/trunk/java/org/apache/coyote/http11/upgrade/AprServletOutputStream.java Tue Oct 15 14:57:40 2013 @@ -124,7 +124,8 @@ public class AprServletOutputStream exte // APR + SSL requires that exactly the same parameters are // passed when re-attempting the write } - written = Socket.sendb(socket, sslOutputBuffer, start, left); + written = Socket.sendb(socket, sslOutputBuffer, + sslOutputBuffer.position(), sslOutputBuffer.limit()); if (written > 0) { sslOutputBuffer.position( sslOutputBuffer.position() + written); --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org