Skip to content

Send NOOP on control socket during file transfers.#18096

Draft
dkocher wants to merge 4 commits into
masterfrom
feature/GH-9075
Draft

Send NOOP on control socket during file transfers.#18096
dkocher wants to merge 4 commits into
masterfrom
feature/GH-9075

Conversation

@dkocher
Copy link
Copy Markdown
Contributor

@dkocher dkocher commented May 10, 2026

Fix #9075.

@dkocher dkocher added this to the 9.5 milestone May 10, 2026
@dkocher dkocher requested a review from a team as a code owner May 10, 2026 17:36
Copilot AI review requested due to automatic review settings May 10, 2026 17:36
@dkocher dkocher added the ftp FTP Protocol Implementation label May 10, 2026
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Implements FTP control-connection keepalive during streaming uploads/downloads (to address #9075) by sending periodic NOOP commands while reading from / writing to data connections.

Changes:

  • Add periodic sendNoOp() calls during FTPReadFeature downloads based on the configured control keepalive interval.
  • Add periodic sendNoOp() calls during FTPWriteFeature uploads based on the configured control keepalive interval.
  • Refactor stream wrapper constructors to accept an idle/keepalive Duration.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 4 comments.

File Description
ftp/src/main/java/ch/cyberduck/core/ftp/FTPWriteFeature.java Sends periodic NOOP on control connection during upload stream writes.
ftp/src/main/java/ch/cyberduck/core/ftp/FTPReadFeature.java Sends periodic NOOP on control connection during download stream reads.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread ftp/src/main/java/ch/cyberduck/core/ftp/FTPReadFeature.java Outdated
Comment thread ftp/src/main/java/ch/cyberduck/core/ftp/FTPReadFeature.java
Comment thread ftp/src/main/java/ch/cyberduck/core/ftp/FTPWriteFeature.java
Comment thread ftp/src/main/java/ch/cyberduck/core/ftp/FTPReadFeature.java Outdated
@dkocher dkocher marked this pull request as draft May 11, 2026 06:23
@dkocher dkocher modified the milestones: 9.5, 9.6 May 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ftp FTP Protocol Implementation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Send keep alive requests on control connection

2 participants