[
https://issues.apache.org/jira/browse/NET-506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Sebb resolved NET-506.
----------------------
Resolution: Cannot Reproduce
> TelnetInputStream blocks ReaderThread while trying to notify
> TelnetInputListner
> -------------------------------------------------------------------------------
>
> Key: NET-506
> URL: https://issues.apache.org/jira/browse/NET-506
> Project: Commons Net
> Issue Type: Bug
> Components: Telnet
> Affects Versions: 3.2
> Reporter: Stanislav K.
> Priority: Minor
>
> As it's said in javadoc for the method registerInputListener of the class
> TelnetClient, "incoming bytes are being added to the internal buffer
> asynchronously". But it seems to be not so. In reality, the call of the
> method telnetInputAvailable of TelnetInputListner in ReaderThread blocks it
> and we are always able to read just 1 byte of data from stream.
> I'm not pretty sure, whether it's a bug or I have to do something by my self
> in my implementation of TelnetInputLister in case I want to get more then 1
> byte at one read from stream?
--
This message was sent by Atlassian JIRA
(v6.3.15#6346)