elasticsearch/elasticsearch — pull request #5331 by hhoffstaette (2014-03-04 12:58:59+00:00)
Title: Rewrite BytesStreamOutput on top of BigArrays/ByteArray.

Make BytesStreamOutput more efficient by using paging via BigArrays/ByteArrays. Also changes two existing callers to be more correct/efficient.

Fix for #5159