Stanislav K. created NET-506:
--------------------------------

             Summary: 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 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

Reply via email to