[prev in list] [next in list] [prev in thread] [next in thread] 

List:       mina-dev
Subject:    [jira] [Commented] (SSHD-209) Add timeout to ChannelPipedInputStream
From:       "Andrew C (JIRA)" <jira () apache ! org>
Date:       2013-02-23 19:26:12
Message-ID: JIRA.12632215.1360766819179.328801.1361647572641 () arcas
[Download RAW message or body]


    [ 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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic