Uploaded image for project: 'Commons Net'
  1. Commons Net
  2. NET-496

Util copyReader/copyStream classes should use default buffer size for non-positive buffer size parameters

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 3.3
    • Component/s: None
    • Labels:
      None

      Description

      The Util copyStream and copyReader methods currently fail if the provided bufferSize is not positive.

      It would be more useful to use the default buffer size in such cases.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                sebb@apache.org Sebb
              • Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: