commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (NET-494) FTPClient.CSL.cleanUp() fails to restore timeout value on exception
Date Tue, 04 Jun 2013 10:11:20 GMT

    [ https://issues.apache.org/jira/browse/NET-494?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13674214#comment-13674214
] 

Sebb commented on NET-494:
--------------------------

I took a look at why the current code needs Java 1.6, and concluded that it was not essential
to use Java 1.6.
The code has therefore been reverted to require a minimum of Java 1.5, so the next release
(3.3) should be suitable.

In the meantime, if you are able to test with a snapshot you can find one at

https://repository.apache.org/content/groups/snapshots/commons-net/commons-net/3.3-SNAPSHOT/

Note that these automated snapshots have not been reviewed and are not formal releases; use
at your own risk and do not use in production.
                
> FTPClient.CSL.cleanUp() fails to restore timeout value on exception
> -------------------------------------------------------------------
>
>                 Key: NET-494
>                 URL: https://issues.apache.org/jira/browse/NET-494
>             Project: Commons Net
>          Issue Type: Bug
>    Affects Versions: 3.2
>            Reporter: Sebb
>             Fix For: 3.3
>
>
> The CSL class temporarily resets the socket timeout.
> The cleanUp() method restores the original setting, however this may be skipped if an
exception occurs.
> The code should ensure that the original setting is always restored.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message