You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by iilyak <gi...@git.apache.org> on 2016/09/22 23:27:53 UTC

[GitHub] couchdb-chttpd pull request #140: Handle disconnect when receiving body

GitHub user iilyak opened a pull request:

    https://github.com/apache/couchdb-chttpd/pull/140

    Handle disconnect when receiving body

    When any error happen on an underlying socket mochiweb uses
    exit(normal). Add catch for exit:normal and convert it to
    exit({bad_request, <<"Incomplete">>}).
    
    COUCHDB-3158

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/cloudant/couchdb-chttpd 69425-handle-truncated-req-in-recv_body

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb-chttpd/pull/140.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #140
    
----
commit bce8bf0e91948260465af6a78ae93487f57b39f3
Author: ILYA Khlopotov <ii...@apache.org>
Date:   2016-09-22T23:19:39Z

    Handle disconnect when receiving body
    
    When any error happen on an underlying socket mochiweb uses
    exit(normal). Add catch for exit:normal and convert it to
    exit({bad_request, <<"Incomplete">>}).
    
    COUCHDB-3158

----


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-chttpd issue #140: Handle disconnect when receiving body

Posted by eiri <gi...@git.apache.org>.
Github user eiri commented on the issue:

    https://github.com/apache/couchdb-chttpd/pull/140
  
    Let's make the error "Invalid request body", to cover cases with `max_document_size` exceeded and because we seems to use more verbose forms on `bad_request` and +1


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-chttpd pull request #140: Handle disconnect when receiving body

Posted by asfgit <gi...@git.apache.org>.
Github user asfgit closed the pull request at:

    https://github.com/apache/couchdb-chttpd/pull/140


---
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 infrastructure@apache.org or file a JIRA ticket
with INFRA.
---