Match old behavior when buffering is disabled

If the threshold is set to zero we make sure to send a separate chunk to
close the JSON, otherwise we just merge it into the previous chunk.
2 files changed
tree: 55824e2b758b82b8aa58ce3cb1046c0e4f3b7d84
  1. include/
  2. priv/
  3. src/
  4. test/
  5. LICENSE