This commit ensures that not every OutputStream.write gets written as a separate chunk, by buffering the written data in a BufferedOutputStream. In some cases, a large quantity of small writes would result in many sent chunks. Closes gh-31361
This commit ensures that not every OutputStream.write gets written as a separate chunk, by buffering the written data in a BufferedOutputStream. In some cases, a large quantity of small writes would result in many sent chunks. Closes gh-31361