[Cyberduck-trac] [Cyberduck] #5087: Reuse Session key on Data connection

Cyberduck trac at trac.cyberduck.ch
Fri Sep 17 15:12:44 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 dkocher):

 Replying to [comment:7 abrax5]:
 > I looked at GNU classpath, and there's a file called
 ClientHandshake.java:
 >
 > {{{
 >
 >             case WRITE_CLIENT_HELLO:
 >             {
 >               ClientHelloBuilder hello = new ClientHelloBuilder();
 >               AbstractSessionContext ctx = (AbstractSessionContext)
 >                 engine.contextImpl.engineGetClientSessionContext();
 >               continued = (SessionImpl)
 ctx.getSession(engine.getPeerHost(),
 >
 engine.getPeerPort());
 > }}}
 >
 > Maybe Cyberduck could use a modified version of GNU classpath for this
 use case and modify the AbstractSessionContext implementation so that it
 returns a previously used session for the same host even though the port
 is different?

 Yes, the peer port is what is causing a new session being created. The
 solution must somehow overwrite the peer port.

-- 
Ticket URL: <http://trac.cyberduck.ch/ticket/5087#comment:9>
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