Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-4283433

URLConnect's InputStream read blocking forever when network borken

XMLWordPrintable

    • Icon: Enhancement Enhancement
    • Resolution: Fixed
    • Icon: P4 P4
    • 1.4.0
    • 1.2.2, 1.3.0
    • 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)
      ======================================================================

            alanb Alan Bateman
            skonchad Sandeep Konchady
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: