Skip to content

Comments

fix: bring back services ftp for python/java/node#5716

Closed
yihong0618 wants to merge 9 commits intoapache:mainfrom
yihong0618:hy/bring_back_ftp_for_binding
Closed

fix: bring back services ftp for python/java/node#5716
yihong0618 wants to merge 9 commits intoapache:mainfrom
yihong0618:hy/bring_back_ftp_for_binding

Conversation

@yihong0618
Copy link
Contributor

Which issue does this PR close?

This path bring back services-ftp for java/node/python binding.

this feature comment in #3659
since issue #4090
and fixed in async-rs/async-tls#55 and #4091

I wonder they can be reopen again cc @messense

@github-actions github-actions bot added the releases-note/fix The PR fixes a bug or has a title that begins with "fix" label Mar 9, 2025
@suyanhanx suyanhanx requested a review from Xuanwo March 9, 2025 08:13
@yihong0618
Copy link
Contributor Author

And it might be a breaking change, if merge doc things is needed I think

@Xuanwo
Copy link
Member

Xuanwo commented Mar 9, 2025

I have initiated a discussion upstream: veeso/suppaftp#100

I'm a bit concerned about relying on async-tls these days, as it always brings an extra copy of rustls.

@Xuanwo
Copy link
Member

Xuanwo commented Mar 10, 2025

Hi, @yihong0618, the upstream fixed veeso/suppaftp#100, maybe you wanna try upgrade suppaftp and test if everything works as expected?

@yihong0618
Copy link
Contributor Author

Hi, @yihong0618, the upstream fixed veeso/suppaftp#100, maybe you wanna try upgrade suppaftp and test if everything works as expected?

will try this tonight

@yihong0618
Copy link
Contributor Author

@Xuanwo

Chore the dep but the futures-rustls doc in README is wrong they did not chore it...

// Create a root certificate store
let root_store = RootCertStore::empty();
// Optionally, add certificates (e.g., system certs or custom ones)
// For now, we'll leave it empty as an example
Copy link
Member

Choose a reason for hiding this comment

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

I'm guessing we need to add system credentials at the very least?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

seems no need follow the old default will change the comment

@messense
Copy link
Member

Note that pulling in aws-lc-rs which uses cmake may cause problem when cross compiling Python wheels.

@yihong0618
Copy link
Contributor Author

Note that pulling in aws-lc-rs which uses cmake may cause problem when cross compiling Python wheels.

will take a look

@yihong0618
Copy link
Contributor Author

@Xuanwo
Copy link
Member

Xuanwo commented Mar 10, 2025

@Xuanwo
Copy link
Member

Xuanwo commented Apr 7, 2025

Hi, @yihong0618, I'm open to merge the ftp SSL setup part. But I shared the same concern with @messense about enabling ftp by default. Would you like to change this PR to only include the first part?

@yihong0618
Copy link
Contributor Author

copy will do it tonight or tomorrow

@yihong0618
Copy link
Contributor Author

Hi, @yihong0618, I'm open to merge the ftp SSL setup part. But I shared the same concern with @messense about enabling ftp by default. Would you like to change this PR to only include the first part?

after merge main and fix the conflict seems this patch is no need
since we already use future-tls

@dosubot dosubot bot added the size:XS This PR changes 0-9 lines, ignoring generated files. label Apr 7, 2025
@Xuanwo
Copy link
Member

Xuanwo commented Apr 7, 2025

since we already use future-tls

Perfect!

@yihong0618
Copy link
Contributor Author

after merging seems only open ftp is needed so
will close this after ci

@Xuanwo
Copy link
Member

Xuanwo commented Apr 7, 2025

Thank you @yihong0618 for working on this.

@Xuanwo Xuanwo closed this Apr 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

releases-note/fix The PR fixes a bug or has a title that begins with "fix" size:XS This PR changes 0-9 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants