[Cyberduck-trac] [Cyberduck] #5087: Reuse Session key on Data connection
Cyberduck
trac at trac.cyberduck.ch
Fri Sep 17 16:28:19 CEST 2010
#5087: Reuse Session key on Data connection
----------------------------+-----------------------------------------------
Reporter: abrax5 | Owner: dkocher
Type: enhancement | Status: new
Priority: normal | Milestone:
Component: ftp-tls | Version: 3.5.1
Severity: normal | Resolution:
Keywords: proftpd | Platform: Mac OS X 10.6
Architecture: Intel |
----------------------------+-----------------------------------------------
Comment (by abrax5):
In OpenJDK, this code is in ClientHandshaker.java: (from
http://download.java.net/openjdk/jdk6/)
{{{
HandshakeMessage getKickstartMessage() throws SSLException {
ClientHello mesg = new ClientHello(sslContext.getSecureRandom(),
protocolVersion);
maxProtocolVersion = protocolVersion;
clnt_random = mesg.clnt_random;
//
// Try to resume an existing session. This might be mandatory,
// given certain API options.
//
session = ((SSLSessionContextImpl)sslContext
.engineGetClientSessionContext())
.get(getHostSE(), getPortSE());
}}}
So it'd be really useful if we can hook in there to replace the
SSLSessionContext with our own implementation.
--
Ticket URL: <http://trac.cyberduck.ch/ticket/5087#comment:11>
Cyberduck <http://cyberduck.ch>
FTP, SFTP, WebDAV, Cloud Files, Google Docs, Azure and S3 Browser for Mac OS X.
More information about the Cyberduck-trac
mailing list