couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Benoit Chesneau (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COUCHDB-497) fix attachments with an undefined Content-Length header and no TE
Date Sun, 06 Sep 2009 14:42:00 GMT

     [ https://issues.apache.org/jira/browse/COUCHDB-497?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Benoit Chesneau updated COUCHDB-497:
------------------------------------

    Attachment: fix_put_attachments.patch

> fix attachments with an undefined Content-Length  header and no TE
> ------------------------------------------------------------------
>
>                 Key: COUCHDB-497
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-497
>             Project: CouchDB
>          Issue Type: Bug
>    Affects Versions: 0.10, 0.11
>            Reporter: Benoit Chesneau
>             Fix For: 0.10, 0.11
>
>         Attachments: fix_put_attachments.patch
>
>
>  When you push an empty attachments with an undefined Content-Length  header and no TE,
couchdb raises following error :
> [error] [<0.27660.52>] function_clause error in HTTP request
> [info] [<0.27660.52>] Stacktrace: [{couch_db,flush_att,
>                        [<0.27653.52>,
>                         {att,<<"test">>,<<"application/octet-stream">>,
>                              undefined,<<>>,2,undefined}]},
>              {couch_db,'-doc_flush_atts/2-lc$^0/1-0-',2},
>              {couch_db,doc_flush_atts,2},
>              {couch_db,'-update_docs/4-lc$^7/1-7-',2},
>              {couch_db,'-update_docs/4-lc$^6/1-6-',2},
>              {couch_db,update_docs,4},
>              {couch_db,update_doc,3},
>              {couch_httpd_db,db_attachment_req,4}]
> [debug] [<0.27660.52>] httpd 500 error response:
>  {"error":"unknown_error","reason":"function_clause"}
> attached patch fix this error.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message