mirror of
https://github.com/curl/curl.git
synced 2025-03-19 15:40:42 +08:00
http2 examples: clean up some comments
This commit is contained in:
parent
e57f08863a
commit
d1b1d782f5
docs/examples
@ -151,7 +151,7 @@ static void setup(CURL *hnd, int num)
|
||||
/* write to this file */
|
||||
curl_easy_setopt(hnd, CURLOPT_WRITEDATA, out);
|
||||
|
||||
/* get the same URL for now */
|
||||
/* set the same URL */
|
||||
curl_easy_setopt(hnd, CURLOPT_URL, "https://localhost:8443/index.html");
|
||||
|
||||
/* send it verbose for max debuggaility */
|
||||
@ -202,8 +202,6 @@ int main(int argc, char **argv)
|
||||
curl_multi_add_handle(multi_handle, easy[i]);
|
||||
}
|
||||
|
||||
/* For now (at least) we use bit 1 in the pipelining option to switch on
|
||||
HTTP/2 multiplexing */
|
||||
curl_multi_setopt(multi_handle, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX);
|
||||
|
||||
/* we start some action by calling perform right away */
|
||||
|
@ -258,8 +258,6 @@ int main(int argc, char **argv)
|
||||
curl_multi_add_handle(multi_handle, easy[i]);
|
||||
}
|
||||
|
||||
/* For now (at least) we use bit 1 in the pipelining option to switch on
|
||||
HTTP/2 multiplexing */
|
||||
curl_multi_setopt(multi_handle, CURLMOPT_PIPELINING, CURLPIPE_MULTIPLEX);
|
||||
|
||||
/* We do HTTP/2 so let's stick to one connection per host */
|
||||
|
Loading…
x
Reference in New Issue
Block a user