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

get the failure immediately when writing individual chunks over socket fail

XMLWordPrintable

    • b58
    • generic
    • generic


      ###@###.### 2004-05-27

      J2SE Version (please include all output from java -version flag):
        java version "1.5.0-beta2"
        Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-beta2-b50)
        Java HotSpot(TM) Client VM (build 1.5.0-beta2-b50, mixed mode)

      Does this problem occur on J2SE 1.3, 1.4 or 1.4.1? Yes / No (pick one)
        N/A

      Bug Description:
        This is a request specific to Tiger chunked transfer capability
        for large uploads you added in Sun JVM 1.5. Our observation has
        been when doing large uploads [10MB-50MB] in chunked manner, and if
        the socket on the server side is closed or dead in the midst of the upload,
        the client still is continuing to write on the dead socket without
        checking if the socket is alive or not. This means the client will
        know of the failure and be able to provide feedback only after all
        the 10MB-50MB content has been written. It would be a good improvement
        to get the failure and exception thrown immediately when writing individual
        chunks.

            ywangsunw Yingxian Wang (Inactive)
            tyao Ting-Yun Ingrid Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: