Skip to content

Use hostname for FTPS EPSV data connection#395

Open
codingtim wants to merge 1 commit intoapache:masterfrom
codingtim:feature/ftps-epsv-tls-session-reuse
Open

Use hostname for FTPS EPSV data connection#395
codingtim wants to merge 1 commit intoapache:masterfrom
codingtim:feature/ftps-epsv-tls-session-reuse

Conversation

@codingtim
Copy link

This allows FTPS to reuse the TLS session
of the FSTP command connection for the data connection.

Copy link
Member

@garydgregory garydgregory left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @codingtim

Thank you for your PR.

Please see my comment.

passivePort = port;
}

protected String _resolveExtendedPassiveModeHost() {
Copy link
Member

@garydgregory garydgregory Mar 17, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hello @codingtim ,

Please add a Javadoc with a description and an @since 3.14.0. Also, I don't think we need to continue the horror of leading underscores in method names unless we are overriding 😉

Alternatively, both methods could be package private which would avoid expanding the publicly available API footprint.

Don't forget to run 'mvn' by itself before you push to run all build checks.

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pushed requested changes

This allows FTPS to reuse the TLS session
of the FSTP command connection for the data connection.
@codingtim codingtim force-pushed the feature/ftps-epsv-tls-session-reuse branch from dce4d3e to 17b41ed Compare March 17, 2026 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants