couchdb-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "ASF subversion and git services (JIRA)" <>
Subject [jira] [Commented] (COUCHDB-1953) Speed up parsing of multipart/related requests
Date Fri, 07 Mar 2014 08:18:46 GMT


ASF subversion and git services commented on COUCHDB-1953:

Commit ce3e89dc9fef25aa0e038e5a621a1e7c732e66e2 in couchdb's branch refs/heads/1.6.x from
[;h=ce3e89d ]

Speed up and move couch_httpd:find_in_binary.


(cherry picked from commit 824869c3c059d887da0dbe1cd04eb244c931c27b)

> Speed up parsing of multipart/related requests
> ----------------------------------------------
>                 Key: COUCHDB-1953
>                 URL:
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: HTTP Interface
>            Reporter: Nick North
>         Attachments: tests1953.erl
> Parsing of multipart/related requests searches for the MIME boundary string using the
couch_httpd:find_in_binary/2 function, which can be made more efficient.
> When the boundary string is not found in its entirety in the search data, the function
should then look to see if the data ends with a prefix of the string, but it currently looks
for any prefix of the string almost anywhere in the search data.
> A pull request to fix this will be submitted shortly.

This message was sent by Atlassian JIRA

View raw message