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

Alexander Shorin resolved COUCHDB-1953.
---------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.7.0
                   1.6.0
         Assignee: Nick North

> Speed up parsing of multipart/related requests
> ----------------------------------------------
>
>                 Key: COUCHDB-1953
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1953
>             Project: CouchDB
>          Issue Type: Improvement
>          Components: HTTP Interface
>            Reporter: Nick North
>            Assignee: Nick North
>             Fix For: 1.6.0, 1.7.0
>
>         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
(v6.2#6252)

Reply via email to