[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[Libevent-users] evhttp 1.4.13: code vs. message



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.)
***********************************************************************
To unsubscribe, send an e-mail to majordomo@xxxxxxxxxxxxx with
unsubscribe libevent-users    in the body.