Github user chewbranca commented on the pull request:
https://github.com/apache/couchdb-chttpd/pull/101#issuecomment-191479781
@iilyak So I like the approach in d1d2cfe, however while taking another
gander at this PR I realized that the heavily used `chttpd:send_json` still
calls out to `couch_httpd:send_json` which in turn calls out to
`couch_httpd:send_response`, so unfortunately we're still returning and logging
different in chttpd vs couch_httpd.
Perhaps the best approach is to do what you originally had and have
everything use `couch_httpd:send_response` and then just ensure we're happy
with the current implementation there. Although we need to be careful because
the delayed chunk logic in `chttpd` has bug fixes not in `couch_httpd`, so we
can't always just use `couch_httpd`.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---