git-svn-id: https://svn.apache.org/repos/asf/tomcat/trunk@998168
13f79535-47bb-0310-9956-
ffa450edef68
request.setAttribute(AbstractEndpoint.CERTIFICATE_KEY, certs);
}
// User key size
- sslO = new Integer(SSLSocket.getInfoI(socket, SSL.SSL_INFO_CIPHER_USEKEYSIZE));
+ sslO = Integer.valueOf(SSLSocket.getInfoI(socket,
+ SSL.SSL_INFO_CIPHER_USEKEYSIZE));
request.setAttribute(AbstractEndpoint.KEY_SIZE_KEY, sslO);
// SSL session ID
byte[] tmp = new byte[newsize];
System.arraycopy(buf,0,tmp,0,buf.length);
buf = tmp;
- tmp = null;
}
}
// ----------------------------------------------------------- Constructors
- int bbufLimit = 0;
-
-
/**
* Default constructor.
*/
buf = new byte[headerBufferSize];
- if (headerBufferSize < (8 * 1024)) {
- bbufLimit = 6 * 1500;
- } else {
- bbufLimit = (headerBufferSize / 1500 + 1) * 1500;
- }
- //bbuf = ByteBuffer.allocateDirect(bbufLimit);
-
outputStreamOutputBuffer = new SocketOutputBuffer();
filterLibrary = new OutputFilter[0];