Home | History | Annotate | Download | only in examples

Lines Matching refs:url

27  * downloads the same fixed URL a URL_ITERATIONS number of times. The received
41 URL to fetch. If you select HTTPS, you need to use a TLS backend with mutex
44 #define URL "http://localhost/4KB"
49 /* how many times each URL is transferred per thread */
92 const char *url;
104 curl_easy_setopt(curl, CURLOPT_URL, u->url);
122 struct initurl url[NUM_THREADS];
135 url[i].url = URL;
136 url[i].share = share;
137 url[i].threadno = i;
138 error = pthread_create(&tid[i], NULL, run_thread, &url[i]);
142 fprintf(stderr, "Thread %d, gets %s\n", i, URL);