Home
last modified time | relevance | path

Searched refs:evhttp_uri_get_host (Results 1 – 5 of 5) sorted by relevance

/libevent-2.1.12/sample/
H A Dhttp-connect.c30 VERIFY(evhttp_uri_get_host(uri)); in uri_parse()
51 VERIFY(evhttp_uri_get_host(uri)); in uri_hostport()
54 evhttp_uri_get_host(uri), evhttp_uri_get_port(uri)); in uri_hostport()
84 evhttp_add_header(req->output_headers, "Host", evhttp_uri_get_host(location)); in connect_cb()
112 evhttp_uri_get_host(proxy), evhttp_uri_get_port(proxy))); in main()
H A Dhttps-client.c318 host = evhttp_uri_get_host(http_uri); in main()
/libevent-2.1.12/test/
H A Dregress_http.c2615 tt_want(evhttp_uri_get_host(uri) == NULL); in http_parse_uri_test()
2711 tt_want(strcmp(evhttp_uri_get_host(uri), "8000") == 0); in http_parse_uri_test()
2722 tt_want(strcmp(evhttp_uri_get_host(uri), "") == 0); in http_parse_uri_test()
2766 tt_want(strcmp(evhttp_uri_get_host(uri), "[::1]") == 0); in http_parse_uri_test()
2800 tt_want(strcmp(evhttp_uri_get_host(uri), "foo.com") == 0); in http_parse_uri_test()
2833 tt_want(strcmp(evhttp_uri_get_host(uri), "") == 0); in http_parse_uri_test()
2845 tt_want(strcmp(evhttp_uri_get_host(uri), "") == 0); in http_parse_uri_test()
2857 tt_want(evhttp_uri_get_host(uri) == NULL); in http_parse_uri_test()
2869 tt_want(evhttp_uri_get_host(uri) == NULL); in http_parse_uri_test()
2881 tt_want(evhttp_uri_get_host(uri) == NULL); in http_parse_uri_test()
[all …]
/libevent-2.1.12/include/event2/
H A Dhttp.h1059 const char *evhttp_uri_get_host(const struct evhttp_uri *uri);
/libevent-2.1.12/
H A Dhttp.c1888 hostname = evhttp_uri_get_host(req->uri_elems); in evhttp_parse_request_line()
4147 host = evhttp_uri_get_host(req->uri_elems); in evhttp_request_get_host()
5022 evhttp_uri_get_host(const struct evhttp_uri *uri) in evhttp_uri_get_host() function