You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Andrew C (JIRA)" <ji...@apache.org> on 2013/02/23 20:26:12 UTC
[jira] [Commented] (SSHD-209) Add timeout to
ChannelPipedInputStream
[ https://issues.apache.org/jira/browse/SSHD-209?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13585198#comment-13585198 ]
Andrew C commented on SSHD-209:
-------------------------------
Testing always helps, the change misplaced this check from read(...):
if (writerClosed) {
return -1; // no more data to read
}
leading to some hangs.
> Add timeout to ChannelPipedInputStream
> --------------------------------------
>
> Key: SSHD-209
> URL: https://issues.apache.org/jira/browse/SSHD-209
> Project: MINA SSHD
> Issue Type: Bug
> Reporter: Andrew C
> Assignee: Guillaume Nodet
> Fix For: 0.9.0
>
> Attachments: sshd-209.patch
>
>
> I'm finding I'd like to set a timeout when trying to read data - more transaction / socket like. Will try implementation using Lock/Condition.
--
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