Lines Matching refs:asi
47 struct altsvcinfo *asi = Curl_altsvc_init(); variable
48 abort_if(!asi, "Curl_altsvc_i");
49 result = Curl_altsvc_load(asi, arg);
60 fail_unless(Curl_llist_count(&asi->list) == 4, "wrong number of entries");
63 result = Curl_altsvc_parse(curl, asi, "h2=\"example.com:8080\"\r\n",
66 fail_unless(Curl_llist_count(&asi->list) == 5, "wrong number of entries");
68 result = Curl_altsvc_parse(curl, asi, "h3=\":8080\"\r\n",
71 fail_unless(Curl_llist_count(&asi->list) == 6, "wrong number of entries");
73 result = Curl_altsvc_parse(curl, asi,
78 fail_unless(Curl_llist_count(&asi->list) == 8, "wrong number of entries");
80 result = Curl_altsvc_parse(curl, asi,
84 fail_unless(Curl_llist_count(&asi->list) == 9, "wrong number of entries");
87 result = Curl_altsvc_parse(curl, asi,
91 fail_unless(Curl_llist_count(&asi->list) == 10, "wrong number of entries");
94 Curl_altsvc_parse(curl, asi,
98 fail_unless(Curl_llist_count(&asi->list) == 12, "wrong number of entries");
101 result = Curl_altsvc_parse(curl, asi, "clear;\r\n",
104 fail_unless(Curl_llist_count(&asi->list) == 10, "wrong number of entries");
106 Curl_altsvc_save(curl, asi, outname);
110 Curl_altsvc_cleanup(&asi);