Github user tonysun83 commented on the issue:
https://github.com/apache/couchdb-chttpd/pull/114
@davisp: I misunderstood you when you said "from the socket". For some
reason I thought you meant that changes had to made at the mochiweb level. I
think I get what you mean now...basically for multi-part requests, we're using
```receive_request_data``` to stream the request. As of right now, the current
code waits for the entire stream to complete, and then checks the body to see
if it surpasses max_document_size. What you're saying is that we shouldn't wait
for the stream to complete, but rather fail mid stream if it exceeds
max_document_size?
---
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.
---