]> granicus.if.org Git - libevent/commit
Let evhttp_parse_query return -1 on failure
authorNick Mathewson <nickm@torproject.org>
Wed, 6 Oct 2010 15:48:52 +0000 (11:48 -0400)
committerNick Mathewson <nickm@torproject.org>
Wed, 6 Oct 2010 16:30:17 +0000 (12:30 -0400)
commitb1756d019d23656170d0295ed05e13c2fc201ca7
treeba03090e74c4063ef0d8221a528cb8793605af05
parent5b7a37063647760646823215361df8605c36acd6
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.
http.c
include/event2/http.h
test/regress_http.c