https://issues.apache.org/bugzilla/show_bug.cgi?id=44620
Summary: infinit loop in nio connector code Product: Tomcat 6 Version: 6.0.16 Platform: PC OS/Version: Linux Status: NEW Severity: normal Priority: P4 Component: Connectors AssignedTo: [EMAIL PROTECTED] ReportedBy: [EMAIL PROTECTED] The code below has a chance to cause tomcat enter dead loop in class InternalNioOutputBuffer private synchronized void addToBB(byte[] buf, int offset, int length) throws IOException { --> while (socket.getBufHandler().getWriteBuffer().remaining() < length) { flushBuffer(); } when the buffer size of socket is smaller than length. The default size of socket comes from socket.appWriteBufSize, which is 8192; The value of length is limited by maxHttpHeaderSize, which is 9000. Well, the chance for dead loop exists and happened. It can be avoid if we config the two value correctly in server.xml -- Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are the assignee for the bug. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]