Uploaded image for project: 'Commons Net'
  1. Commons Net
  2. NET-180

Telnet EOR is "consumed" by TelnetInputStream when in BINARY transmission

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.4
    • 2.2
    • Telnet
    • None
    • Applies to all platforms

    Description

      I have a TN5250 client (see rfc1205) which extends TelnetClient. Basically, the client negotiates BINARY transmission and operates in block-mode. However the host sends IAC EOR at the end of each block in order to notify the client that the transmission of the block of data is complete, and the client should build the display. The problem is that the IAC EOR is "consumed" by the TelnetInputStream and therefore never reaches the client.

      There are a few ways this could be handled, here are couple of suggestions (the 2nd is probably better):-

      1. Within TelnetInputStream, treat IAC EOR as data when in BINARY transmission state
      2. Extend TelnetNotificationHandler and send notifications of all Telnet Commands received

      Attachments

        Activity

          People

            Unassigned Unassigned
            jonescg Chris Jones
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: