the documentation for java.net.Socket.shutdownInput()

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: P4
    • 1.4.0
    • Affects Version/s: 1.4.0
    • Component/s: docs
    • beta
    • generic
    • generic


      ingrid.yao@Eng 2000-09-12

      In Doc, it only specifies:

           If you read from a socket input stream after invoking
           shutdownInput() on the socket, the stream will return EOF.

      However, it doesn't specify what happens if you are blocked in read()
      and then call shutdownInput(). In general it seems that it causes the
      read() to immediately return EOF and that seems like the behavior one
      would want, in fact the desired behavior and should be so specified.

            Assignee:
            Jamie Ho (Inactive)
            Reporter:
            Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: