[jira] Created: (VFS-216) FTP configuration does not include option for setting socket timeout

classic Classic list List threaded Threaded
5 messages Options
Reply | Threaded
Open this post in threaded view
|

[jira] Created: (VFS-216) FTP configuration does not include option for setting socket timeout

JIRA jira@apache.org
FTP configuration does not include option for setting socket timeout
--------------------------------------------------------------------

                 Key: VFS-216
                 URL: https://issues.apache.org/jira/browse/VFS-216
             Project: Commons VFS
          Issue Type: Bug
    Affects Versions: 1.1
            Reporter: Reetu Mutti


The FTP Configuration includes an option to set a timeout for the data connection, but not for the socket timeout. This is a problem, as idle sockets can cause your download to hang forever and never timeout.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Updated: (VFS-216) FTP configuration does not include option for setting socket timeout

JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/VFS-216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Reetu Mutti updated VFS-216:
----------------------------

    Attachment: VFS-216.patch

Attached a patch for this issue.

Patch adds a socket timeout property to FtpFileSystemConfigBuilder, which is used by FtpClientFactory.

> FTP configuration does not include option for setting socket timeout
> --------------------------------------------------------------------
>
>                 Key: VFS-216
>                 URL: https://issues.apache.org/jira/browse/VFS-216
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: Reetu Mutti
>         Attachments: VFS-216.patch
>
>
> The FTP Configuration includes an option to set a timeout for the data connection, but not for the socket timeout. This is a problem, as idle sockets can cause your download to hang forever and never timeout.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (VFS-216) FTP configuration does not include option for setting socket timeout

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/VFS-216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12620847#action_12620847 ]

Alex Marshall commented on VFS-216:
-----------------------------------

Unfortunately I have to deal with some exceedingly crappy FTP servers at work which my projects have to communicate with, and this feature would be exceedingly useful.  Right now, some of my background tasks are getting hung up transferring files and I could really use this.  Please integrate it as soon as possible, it'd be much appreciated.

> FTP configuration does not include option for setting socket timeout
> --------------------------------------------------------------------
>
>                 Key: VFS-216
>                 URL: https://issues.apache.org/jira/browse/VFS-216
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: Reetu Mutti
>         Attachments: VFS-216.patch
>
>
> The FTP Configuration includes an option to set a timeout for the data connection, but not for the socket timeout. This is a problem, as idle sockets can cause your download to hang forever and never timeout.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Commented: (VFS-216) FTP configuration does not include option for setting socket timeout

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

    [ https://issues.apache.org/jira/browse/VFS-216?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12773385#action_12773385 ]

Sachindra Nath commented on VFS-216:
------------------------------------

Hello,
  Is there a reason, why this patch has not yet made it to the build?
Any server side application using VFS currently may face a hung socket connection because of this issue.

We've been seeing this issue on one of our production servers (where a faulty router sometimes creates this condition ). The system should however be able to recover from this error, which it currently does not, and hangs on waiting indefinitely (till a server restart).

The commons.net already provides the ability to configure socket timeouts ( I believe since commons.net 1.5) as is indicated in the patch by Reetu.

Please suggest a timeline for this patch being rolled out in a VFS build.

thanks
Sachindra



> FTP configuration does not include option for setting socket timeout
> --------------------------------------------------------------------
>
>                 Key: VFS-216
>                 URL: https://issues.apache.org/jira/browse/VFS-216
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: Reetu Mutti
>         Attachments: VFS-216.patch
>
>
> The FTP Configuration includes an option to set a timeout for the data connection, but not for the socket timeout. This is a problem, as idle sockets can cause your download to hang forever and never timeout.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply | Threaded
Open this post in threaded view
|

[jira] Resolved: (VFS-216) FTP configuration does not include option for setting socket timeout

JIRA jira@apache.org
In reply to this post by JIRA jira@apache.org

     [ https://issues.apache.org/jira/browse/VFS-216?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Ralph Goers resolved VFS-216.
-----------------------------

       Resolution: Fixed
    Fix Version/s: 2.0

The patch was applied to trunk. Please verify and close.

> FTP configuration does not include option for setting socket timeout
> --------------------------------------------------------------------
>
>                 Key: VFS-216
>                 URL: https://issues.apache.org/jira/browse/VFS-216
>             Project: Commons VFS
>          Issue Type: Bug
>    Affects Versions: 1.1
>            Reporter: Reetu Mutti
>             Fix For: 2.0
>
>         Attachments: VFS-216.patch
>
>
> The FTP Configuration includes an option to set a timeout for the data connection, but not for the socket timeout. This is a problem, as idle sockets can cause your download to hang forever and never timeout.

--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.