You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2016/09/22 23:28:20 UTC

[jira] [Commented] (COUCHDB-3158) Fix a crash when connection closes for _update

    [ https://issues.apache.org/jira/browse/COUCHDB-3158?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15514794#comment-15514794 ] 

ASF GitHub Bot commented on COUCHDB-3158:
-----------------------------------------

GitHub user iilyak opened a pull request:

    https://github.com/apache/couchdb-couch/pull/200

    Adding test suite for trancated _update

    Test suite for https://github.com/apache/couchdb-chttpd/pull/140
    
    COUCHDB-3158

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

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

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

    https://github.com/apache/couchdb-couch/pull/200.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 #200
    
----
commit 21c374f1dc049d35089092fc513d226f6580a3a6
Author: ILYA Khlopotov <ii...@apache.org>
Date:   2016-09-22T23:11:02Z

    Adding test suite for trancated _update
    
    COUCHDB-3158

----


> Fix a crash when connection closes for _update 
> -----------------------------------------------
>
>                 Key: COUCHDB-3158
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-3158
>             Project: CouchDB
>          Issue Type: Bug
>            Reporter: ILYA
>         Attachments: acra
>
>
> There is a crash when the client issue an update request and closes the connection. 
> {{/<dbname>/_design/<desing_docid>/_update/<updater_id>/<doc_id>}}
> The resulting crash dump is:
> {code}
> req_err(3443101085) unknown_error : normal
>     [<<"mochiweb_request:recv/3 L180">>,  
>     <<"mochiweb_request:stream_unchunked_body/4 L540">>,
>     <<"mochiweb_request:recv_body/2 L214">>,
>     <<"chttpd_external:-json_req_obj/4-lc$^0/1-0-/4 L67">>,
>     <<"chttpd_external:-json_req_obj/4-lc$^0/1-0-/4 L67">>,
>     <<"chttpd_external:json_req_obj/4 L67">>,
>     <<"chttpd_show:send_doc_update_response/6 L119">>, 
>     <<"chttpd:process_request/1 L293">>]
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)