Skip to content

SecureSocketImpl::currentSession() always return null #4252

@micheleselea

Description

@micheleselea

In version 1.12.5p1 I can't have FTPS connection working anymore, because FTPS Dataconnection works only reusing the session of command connection.
It seems that calling currentSession() on the established command secure socket return always null, because SecureSocketImpl::onSessionCreated is never called even if session caching is enabled in Server Context using

enableSessionCache(true, "some id");
setSessionTimeout(timeout);
setSessionCacheSize(SSL_SESSION_CACHE_MAX_SIZE_DEFAULT);

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions