Buffer rows to reduce number of chunks

This patch reduces the number of chunks in an HTTP chunked response body
by coalescing multiple rows into a single transmission. The default
value is chosen to fill a standard Ethernet frame and can be configured
by setting

    chunked_response_buffer = 1490

Setting the buffer size to 0 restores the original behavior of sending
each row in a separate chunk. Note that the same setting is several
streaming responses (e.g. _changes, _all_docs, _views).

2 files changed
tree: af17c808bc046b361b1a2e2024e6451b7249b8b0
  2. include/
  3. priv/
  4. src/
  5. test/