commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sebb (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (NET-494) FTPClient.CSL.cleanUp() fails to restore timeout value on exception
Date Wed, 09 Jan 2013 13:06:12 GMT

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

Sebb resolved NET-494.
----------------------

       Resolution: Fixed
    Fix Version/s: 3.3

URL: http://svn.apache.org/viewvc?rev=1430831&view=rev
Log:
NET-494 FTPClient.CSL.cleanUp() fails to restore timeout value on exception

Modified:
    commons/proper/net/trunk/src/changes/changes.xml
    commons/proper/net/trunk/src/main/java/org/apache/commons/net/ftp/FTPClient.java

                
> 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