URLConnect's InputStream read blocking forever when network borken

XMLWordPrintable

    • Type: Enhancement
    • Resolution: Fixed
    • Priority: P4
    • 1.4.0
    • Affects Version/s: 1.2.2, 1.3.0
    • Component/s: core-libs
    • beta
    • generic
    • generic



      Name: skT88420 Date: 10/21/99


      After establish connection by URLConnection, use URLConnection.getInputStream() & getOutputStream()
      to do actually I/O transfer. InputStream.read() will block forever if network broke, even though write() may
      throw IOException !! Don't it make sense if those two function are both DOCUMENTED as I/O blocking call ?!

      (This bug exist on both JDK1.1 and JDK1.2)
      (Review ID: 96829)
      ======================================================================

            Assignee:
            Alan Bateman
            Reporter:
            Sandeep Konchady
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: