[ 
https://issues.apache.org/jira/browse/FTPSERVER-131?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12592677#action_12592677
 ] 

Niklas Gustavsson commented on FTPSERVER-131:
---------------------------------------------

Reading some about the error you're seeing, it seems you can get this on some 
OS/JVM combinations in the very same scenario we're seeing here (server closes 
socket and client writes to it and then tries to read). Not a lot we could do 
to fix that as it currently stands as far as I know. But, we could send a 
failure response before closing the socket which would allow a client to detect 
the error. In any case I would find that a better way of handling this type of 
situation. What do you think?

> FtpLet test failures
> --------------------
>
>                 Key: FTPSERVER-131
>                 URL: https://issues.apache.org/jira/browse/FTPSERVER-131
>             Project: FtpServer
>          Issue Type: Bug
>          Components: Ftplets
>         Environment: win XP, jdk1.5.0_15
>            Reporter: Magnus Grimsell
>            Priority: Minor
>         Attachments: 
> org.apache.ftpserver.ftplet.FtpLetReturnDisconnectTest.txt, 
> org.apache.ftpserver.ftplet.FtpLetThrowFtpExceptionTest.txt, 
> org.apache.ftpserver.ftplet.FtpLetThrowRuntimeExceptionTest.txt
>
>
> When building ftpserver projekt from trunk I get the following test failures:
> Tests in error: 
>   
> testExceptionDuringUploadEnd(org.apache.ftpserver.ftplet.FtpLetThrowRuntimeExceptionTest)
>   
> testExceptionDuringUploadUniqueEnd(org.apache.ftpserver.ftplet.FtpLetThrowRuntimeExceptionTest)
>   
> testExceptionDuringAppendEnd(org.apache.ftpserver.ftplet.FtpLetThrowFtpExceptionTest)
>   
> testExceptionDuringUploadUniqueEnd(org.apache.ftpserver.ftplet.FtpLetThrowFtpExceptionTest)
>   
> testExceptionDuringDownloadEnd(org.apache.ftpserver.ftplet.FtpLetReturnDisconnectTest)
>   
> testExceptionDuringAppendEnd(org.apache.ftpserver.ftplet.FtpLetReturnDisconnectTest)
>   
> testExceptionDuringUploadEnd(org.apache.ftpserver.ftplet.FtpLetReturnDisconnectTest)

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

Reply via email to