couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filipe Manana (JIRA)" <>
Subject [jira] Updated: (COUCHDB-558) Validate Content-MD5 request headers on uploads
Date Sat, 21 Nov 2009 03:01:40 GMT


Filipe Manana updated COUCHDB-558:

    Attachment: jira-couchdb-558-4th-try.patch


Paul, I took some time to go further from couch_httpd/couch_httpd_db and explore couch_db
 and couch_stream as well.
This patch has a completely different approach from the previous ones, as it checks only for
the integrity of incoming attachments' requests, including the Content-MD5 field either in
the http header or in the footer when having chunked http encodings.

I also added an Etap test case.

Can you provide some feedback on it?


> Validate Content-MD5 request headers on uploads
> -----------------------------------------------
>                 Key: COUCHDB-558
>                 URL:
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Database Core, HTTP Interface
>            Reporter: Adam Kocoloski
>             Fix For: 0.11
>         Attachments: jira-couchdb-558-4th-try.patch, jira-couchdb-558-for-trunk-2nd-try.patch,
jira-couchdb-558-for-trunk-3rd-try.patch, jira-couchdb-558-for-trunk.patch, run.tpl.patch
> We could detect in-flight data corruption if a client sends a Content-MD5 header along
with the data and Couch validates the MD5 on arrival.
> RFC1864 - The Content-MD5 Header Field

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

View raw message