Skip to content

IdleTimeout doesn't factor in active data connection (large or slow transfers) #430

@dkandarp

Description

@dkandarp

When control connection is idle for more than IdleTimeout duration, server immediately closes control connection and ignores on going data transfer through data connection.
https://github.com/fclairamb/ftpserverlib/blob/main/client_handler.go#L413

This is not correct behavior. Transfer rate and time can very depending on network and file size. Before terminating control connection, server should check if there is any active data connection.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions