Uploaded image for project: 'OpenEJB'
  1. OpenEJB
  2. OPENEJB-1434

Copy Data from InputStream to outputStream needs appropriate buffer size

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Duplicate
    • 3.1.4
    • None
    • general
    • None

    Description

      In the file
      ./openejb-3.1.4-src/server/openejb-webadmin/src/main/java/org/apache/openejb/webadmin/httpd/HttpResponseImpl.java line:332

      It copies data from the InputStream to the OutputStream with a fixed buffer size 1024.

      Based on the result of the Appache bug https://issues.apache.org/bugzilla/show_bug.cgi?id=32546

      If we use an appropriate buffer size we can gain great performance improvement.

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              nancyesmis Xiaoming Shi
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: