Home
last modified time | relevance | path

Searched refs:port2 (Results 1 – 2 of 2) sorted by relevance

/libevent-2.1.12/test/
H A Dregress_dns.c830 struct evdns_server_port *port1 = NULL, *port2 = NULL; in dns_reissue_test_impl() local
839 port2 = regress_get_dnsserver(base, &portnum2, NULL, in dns_reissue_test_impl()
841 tt_assert(port2); in dns_reissue_test_impl()
875 if (port2) in dns_reissue_test_impl()
876 evdns_close_server_port(port2); in dns_reissue_test_impl()
H A Dregress_http.c513 ev_uint16_t port = 0, port2 = 0; in http_basic_test_impl() local
521 if (http_bind(http, &port2, server_flags) == -1) { in http_basic_test_impl()
546 fd = http_connect("127.0.0.1", port2); in http_basic_test_impl()
567 fd = http_connect("127.0.0.1", port2); in http_basic_test_impl()
691 ev_uint16_t port=0, port2=0; in http_bad_request_test() local
698 if (http_bind(http, &port2, 0) == -1) in http_bad_request_test()
734 fd = http_connect("127.0.0.1", port2); in http_bad_request_test()