ient?
>
> Cheers,
> Bas Verhoeven
> ***
> To unsubscribe, send an e-mail to majord...@freehaven.net with
> unsubscribe libevent-users in the body.
>
--
Pavel Plesov
download.c
Description: Binary data
On Sun, Aug 8, 2010 at 3:55 PM, Pavel Plesov wrote:
> I will alter the patch: add evhttp_uri_free(), and suppose there is no
> more need for evhttp_uri_clear().
>
>
> [1]
> https://sourceforge.net/tracker/?func=detail&aid=3037660&group_id=50884&atid=461324
&
URIs like "mailto:f...@bar";.
I will alter the patch: add evhttp_uri_free(), and suppose there is no
more need for evhttp_uri_clear().
[1]
https://sourceforge.net/tracker/?func=detail&aid=3037660&group_id=50884&atid=461324
--
Pavel Plesov
***
To unsubscribe, send an e-mail to majord...@freehaven.net with
unsubscribe libevent-usersin the body.
/sourceforge.net/tracker/?func=detail&aid=3037660&group_id=50884&atid=461324
--
Pavel Plesov
***
To unsubscribe, send an e-mail to majord...@freehaven.net with
unsubscribe libevent-usersin the body.
i.host, "foo.com") == 0);
+ tt_want(uri.port == 0);
+ tt_want(strcmp(uri.query, "/") == 0);
+ tt_want(strcmp(uri.fragment, "fragment") == 0);
+ TT_URI("scheme://u...@foo.com/#fragment");
+}
+
+static void
http_base_test(void *ptr)
{
struct event_base *base = NULL;
@@ -2648,6 +2716,7 @@ struct testcase_t http_testcases[] = {
{ "base", http_base_test, TT_FORK|TT_NEED_BASE, NULL, NULL },
{ "bad_headers", http_bad_header_test, 0, NULL, NULL },
{ "parse_query", http_parse_query_test, 0, NULL, NULL },
+ { "parse_uri", http_parse_uri_test, 0, NULL, NULL },
HTTP_LEGACY(basic),
HTTP_LEGACY(cancel),
HTTP_LEGACY(virtual_host),
--
1.7.1
--
Pavel Plesov
***
To unsubscribe, send an e-mail to majord...@freehaven.net with
unsubscribe libevent-usersin the body.