Commit b1756d019d23656170d0295ed05e13c2fc201ca7

Nick Mathewson 2010-10-06T11:48:52

Let evhttp_parse_query return -1 on failure We already detected certain malformed queries, but we responded by aborting the query-parsing process half-way through without telling the user. Now, if query-parsing fails, no headers are returned, and evhttp_parse_query returns -1.