couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Filipe Manana (JIRA)" <j...@apache.org>
Subject [jira] Updated: (COUCHDB-558) Validate Content-MD5 request headers on uploads
Date Sat, 14 Nov 2009 22:08:39 GMT

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

Filipe Manana updated COUCHDB-558:
----------------------------------

    Attachment: jira-couchdb-558-for-trunk.patch

Hello,

I would like to have some feedback about this patch. I am learning Erlang, as well as CouchDB's
implementation, so this is a good exercise for me and, hopefully, a good contribution to CouchDB.

JavaScript test case is included.

A suggestion:

Don't you agree it would be also interesting to have a config option for CouchDB to include
MD5 digests for GET replies? This way the client side could validate the integrity of the
messages received from CouchDB.

best regards,
Filipe Manana

> Validate Content-MD5 request headers on uploads
> -----------------------------------------------
>
>                 Key: COUCHDB-558
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-558
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: Database Core, HTTP Interface
>            Reporter: Adam Kocoloski
>             Fix For: 0.11
>
>         Attachments: jira-couchdb-558-for-trunk.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
> http://www.faqs.org/rfcs/rfc1864.html

-- 
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