[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [Libevent-users] evhttp 1.4.13: code vs. message
On Sat, Jan 02, 2010 at 04:54:37PM -0500, Michael Lenaghan wrote:
> A minor issue in http.c's evhttp_parse_request_line routine--the debug
> message doesn't match the code:
>
> if ((req->uri = strdup(uri)) == NULL) {
> event_debug(("%s: evhttp_decode_uri", __func__));
> return (-1);
> }
>
> (The code is correct; the uri shouldn't be decoded until after it's
> fully parsed.)
Good catch; this was already fixed in 2.0, but we might as well
backport the correct message.
--
Nick
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users in the body.