[NO ISSUE][OTH] Avoid Allocating Buffers on Chunked OutputStream
authorMurtadha Hubail <mhubail@apache.org>
Tue, 3 Nov 2020 22:24:20 +0000 (01:24 +0300)
committerMurtadha Hubail <mhubail@apache.org>
Wed, 4 Nov 2020 22:35:55 +0000 (22:35 +0000)
commitae697303481da685452c3b919168cd8bfb059224
tree37ab5ec2a8f1057a6d13c5a512562a5c3e4ad341
parent01a301d975f37945dfe23a4968263b435a0763c1
[NO ISSUE][OTH] Avoid Allocating Buffers on Chunked OutputStream

- user model changes: no
- storage format changes: no
- interface changes: no

Details:

- Avoid allocating additional buffers when reporting
  errors to ChunkedResponse.

Change-Id: I36cbbb157b2e4013582e7161852b1a32286e709a
Reviewed-on: https://asterix-gerrit.ics.uci.edu/c/asterixdb/+/8723
Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: Ali Alsuliman <ali.al.solaiman@gmail.com>
hyracks-fullstack/hyracks/hyracks-http/src/main/java/org/apache/hyracks/http/server/ChunkedNettyOutputStream.java
hyracks-fullstack/hyracks/hyracks-http/src/main/java/org/apache/hyracks/http/server/ChunkedResponse.java