Lines Matching refs:url
32 static CURLcode send_request(CURL *curl, const char *url, int seq, in send_request() argument
36 size_t len = strlen(url) + 4 + 1; in send_request()
43 msnprintf(full_url, len, "%s%04d", url, seq); in send_request()
60 static CURLcode send_wrong_password(CURL *curl, const char *url, int seq, in send_wrong_password() argument
63 return send_request(curl, url, seq, auth_scheme, "testuser:wrongpass"); in send_wrong_password()
66 static CURLcode send_right_password(CURL *curl, const char *url, int seq, in send_right_password() argument
69 return send_request(curl, url, seq, auth_scheme, "testuser:testpass"); in send_right_password()
85 CURLcode test(char *url) in test() argument
113 res = send_wrong_password(curl, url, 100, main_auth_scheme); in test()
117 res = send_right_password(curl, url, 200, fallback_auth_scheme); in test()
131 res = send_wrong_password(curl, url, 300, main_auth_scheme); in test()
135 res = send_wrong_password(curl, url, 400, fallback_auth_scheme); in test()
139 res = send_right_password(curl, url, 500, fallback_auth_scheme); in test()