Lines Matching defs:host
137 : OSSL_HTTP_transfer(NULL, NULL /* host */, NULL /* port */, RPATH,
206 char *user, *host, *port, *path, *query, *frag;
212 res = TEST_true(OSSL_HTTP_parse_url(url, &ssl, &user, &host, &port, &num,
214 && TEST_str_eq(host, exp_host)
226 OPENSSL_free(host);
236 char *host, *path;
239 res = TEST_true(OSSL_HTTP_parse_url(url, NULL, NULL, &host, NULL, NULL,
241 && TEST_str_eq(host, "host")
243 OPENSSL_free(host);
250 return test_http_url_ok("host:65535/path", 0, "host", "65535", "/path");
255 return test_http_url_path_query_ok("http://usr@host:1/p?q=x#frag", "/p?q=x")
256 && test_http_url_path_query_ok("http://host?query#frag", "/?query")
257 && test_http_url_path_query_ok("http://host:9999#frag", "/");
262 return test_http_url_ok("user:pass@host/p?q#fr", 0, "host", "80", "/p");
277 char *host = "1", *port = "1", *path = "1";
281 res = TEST_false(OSSL_HTTP_parse_url(url, &ssl, NULL, &host, &port, &num,
283 && TEST_ptr_null(host)
287 OPENSSL_free(host);