You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@commons.apache.org by Kaarel Kann <Ka...@playtech.com> on 2010/04/28 10:15:37 UTC

[net] TelnetInputStream.java: escaping byte 255

Hi,

 

We ran into a problem of sending 255 over network. It is escaped by another
255 (as specified by RFC854) but  TelnetInputStream.java:196 (from revision
658491) breaks the wrong switch and actually next byte is also ignored.

 

Can you confirm that this is actually a bug or is it done deliberately? 

 

Attached patch.

 

Kaarel Kann 

 


RE: [net] TelnetInputStream.java: escaping byte 255

Posted by Kaarel Kann <Ka...@playtech.com>.
Sry - didn't to my search well. It's already reported as: https://issues.apache.org/jira/browse/NET-89



Are there plans to fix it?



Kaarel Kann





From: Kaarel Kann [mailto:Kaarel.Kann@playtech.com]
Sent: Wednesday, April 28, 2010 11:16 AM
To: dev@commons.apache.org
Cc: Reimo Daum
Subject: [net] TelnetInputStream.java: escaping byte 255



Hi,



We ran into a problem of sending 255 over network. It is escaped by another 255 (as specified by RFC854) but  TelnetInputStream.java:196 (from revision 658491) breaks the wrong switch and actually next byte is also ignored.



Can you confirm that this is actually a bug or is it done deliberately?



Attached patch.



Kaarel Kann