mirror of
https://github.com/curl/curl.git
synced 2026-07-24 00:07:17 +03:00
docs: remove use of the word 'very'
It is mostly superfluous. proselint would complain. Closes #11818
This commit is contained in:
parent
28f8440c0b
commit
945db0d958
23 changed files with 52 additions and 52 deletions
|
|
@ -98,7 +98,7 @@ main(void)
|
|||
snprintf(nline, sizeof(nline), "%s\t%s\t%s\t%s\t%.0f\t%s\t%s",
|
||||
".example.com", "TRUE", "/", "FALSE",
|
||||
difftime(time(NULL) + 31337, (time_t)0),
|
||||
"PREF", "hello example, i like you very much!");
|
||||
"PREF", "hello example, i like you!");
|
||||
res = curl_easy_setopt(curl, CURLOPT_COOKIELIST, nline);
|
||||
if(res != CURLE_OK) {
|
||||
fprintf(stderr, "Curl curl_easy_setopt failed: %s\n",
|
||||
|
|
|
|||
|
|
@ -386,8 +386,8 @@ static void new_conn(char *url, GlobalInfo *g)
|
|||
rc = curl_multi_add_handle(g->multi, conn->easy);
|
||||
mcode_or_die("new_conn: curl_multi_add_handle", rc);
|
||||
|
||||
/* note that the add_handle() will set a time-out to trigger very soon so
|
||||
that the necessary socket_action() call will be called by this app */
|
||||
/* note that the add_handle() will set a time-out to trigger soon so that
|
||||
the necessary socket_action() call will be called by this app */
|
||||
}
|
||||
|
||||
/* This gets called whenever data is received from the fifo */
|
||||
|
|
|
|||
|
|
@ -364,8 +364,8 @@ static void new_conn(char *url, GlobalInfo *g)
|
|||
rc = curl_multi_add_handle(g->multi, conn->easy);
|
||||
mcode_or_die("new_conn: curl_multi_add_handle", rc);
|
||||
|
||||
/* note that the add_handle() will set a time-out to trigger very soon so
|
||||
that the necessary socket_action() call will be called by this app */
|
||||
/* note that the add_handle() will set a time-out to trigger soon so that
|
||||
the necessary socket_action() call will be called by this app */
|
||||
}
|
||||
|
||||
/* This gets called whenever data is received from the fifo */
|
||||
|
|
|
|||
|
|
@ -323,8 +323,8 @@ static void new_conn(char *url, GlobalInfo *g)
|
|||
rc = curl_multi_add_handle(g->multi, conn->easy);
|
||||
mcode_or_die("new_conn: curl_multi_add_handle", rc);
|
||||
|
||||
/* note that the add_handle() will set a time-out to trigger very soon so
|
||||
that the necessary socket_action() call will be called by this app */
|
||||
/* note that the add_handle() will set a time-out to trigger soon so that
|
||||
the necessary socket_action() call will be called by this app */
|
||||
}
|
||||
|
||||
/* This gets called by glib whenever data is received from the fifo */
|
||||
|
|
|
|||
|
|
@ -358,8 +358,8 @@ static void new_conn(char *url, GlobalInfo *g)
|
|||
rc = curl_multi_add_handle(g->multi, conn->easy);
|
||||
mcode_or_die("new_conn: curl_multi_add_handle", rc);
|
||||
|
||||
/* note that the add_handle() will set a time-out to trigger very soon so
|
||||
that the necessary socket_action() call will be called by this app */
|
||||
/* note that the add_handle() will set a time-out to trigger soon so that
|
||||
the necessary socket_action() call will be called by this app */
|
||||
}
|
||||
|
||||
/* This gets called whenever data is received from the fifo */
|
||||
|
|
|
|||
|
|
@ -50,7 +50,7 @@ int main(void)
|
|||
/* This is just the server URL */
|
||||
curl_easy_setopt(curl, CURLOPT_URL, "imap://imap.example.com");
|
||||
|
||||
/* Set the LSUB command. Note the syntax is very similar to that of a LIST
|
||||
/* Set the LSUB command. Note the syntax is similar to that of a LIST
|
||||
command. */
|
||||
curl_easy_setopt(curl, CURLOPT_CUSTOMREQUEST, "LSUB \"\" *");
|
||||
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ int main(void)
|
|||
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);
|
||||
#endif
|
||||
|
||||
/* Since the traffic will be encrypted, it is very useful to turn on debug
|
||||
/* Since the traffic will be encrypted, it is useful to turn on debug
|
||||
* information within libcurl to see what is happening during the
|
||||
* transfer */
|
||||
curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
|
||||
|
|
|
|||
|
|
@ -73,7 +73,7 @@ int main(void)
|
|||
* for more information. */
|
||||
curl_easy_setopt(curl, CURLOPT_CAINFO, "/path/to/certificate.pem");
|
||||
|
||||
/* Since the traffic will be encrypted, it is very useful to turn on debug
|
||||
/* Since the traffic will be encrypted, it is useful to turn on debug
|
||||
* information within libcurl to see what is happening during the
|
||||
* transfer */
|
||||
curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ int main(void)
|
|||
curl_easy_setopt(curl, CURLOPT_SSL_VERIFYHOST, 0L);
|
||||
#endif
|
||||
|
||||
/* Since the traffic will be encrypted, it is very useful to turn on debug
|
||||
/* Since the traffic will be encrypted, it is useful to turn on debug
|
||||
* information within libcurl to see what is happening during the
|
||||
* transfer */
|
||||
curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ int main(void)
|
|||
* for more information. */
|
||||
curl_easy_setopt(curl, CURLOPT_CAINFO, "/path/to/certificate.pem");
|
||||
|
||||
/* Since the traffic will be encrypted, it is very useful to turn on debug
|
||||
/* Since the traffic will be encrypted, it is useful to turn on debug
|
||||
* information within libcurl to see what is happening during the
|
||||
* transfer */
|
||||
curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@
|
|||
*/
|
||||
|
||||
/* The libcurl options want plain addresses, the viewable headers in the mail
|
||||
* can very well get a full name as well.
|
||||
* can get a full name as well.
|
||||
*/
|
||||
#define FROM_ADDR "<ursel@example.org>"
|
||||
#define SENDER_ADDR "<kurt@example.org>"
|
||||
|
|
@ -151,9 +151,9 @@ int main(void)
|
|||
* should be able to reuse this connection for additional messages
|
||||
* (setting CURLOPT_MAIL_FROM and CURLOPT_MAIL_RCPT as required, and
|
||||
* calling curl_easy_perform() again. It may not be a good idea to keep
|
||||
* the connection open for a very long time though (more than a few
|
||||
* minutes may result in the server timing out the connection), and you do
|
||||
* want to clean up in the end.
|
||||
* the connection open for a long time though (more than a few minutes may
|
||||
* result in the server timing out the connection), and you do want to
|
||||
* clean up in the end.
|
||||
*/
|
||||
curl_easy_cleanup(curl);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -69,9 +69,9 @@ int main(void)
|
|||
curl_slist_free_all(recipients);
|
||||
|
||||
/* curl will not send the QUIT command until you call cleanup, so you
|
||||
* should be able to reuse this connection for additional requests. It
|
||||
* may not be a good idea to keep the connection open for a very long time
|
||||
* though (more than a few minutes may result in the server timing out the
|
||||
* should be able to reuse this connection for additional requests. It may
|
||||
* not be a good idea to keep the connection open for a long time though
|
||||
* (more than a few minutes may result in the server timing out the
|
||||
* connection) and you do want to clean up in the end.
|
||||
*/
|
||||
curl_easy_cleanup(curl);
|
||||
|
|
|
|||
|
|
@ -36,7 +36,7 @@
|
|||
*/
|
||||
|
||||
/* The libcurl options want plain addresses, the viewable headers in the mail
|
||||
* can very well get a full name as well.
|
||||
* can get a full name as well.
|
||||
*/
|
||||
#define FROM_ADDR "<sender@example.org>"
|
||||
#define TO_ADDR "<addressee@example.net>"
|
||||
|
|
@ -139,9 +139,9 @@ int main(void)
|
|||
* should be able to reuse this connection for additional messages
|
||||
* (setting CURLOPT_MAIL_FROM and CURLOPT_MAIL_RCPT as required, and
|
||||
* calling curl_easy_perform() again. It may not be a good idea to keep
|
||||
* the connection open for a very long time though (more than a few
|
||||
* minutes may result in the server timing out the connection), and you do
|
||||
* want to clean up in the end.
|
||||
* the connection open for a long time though (more than a few minutes may
|
||||
* result in the server timing out the connection), and you do want to
|
||||
* clean up in the end.
|
||||
*/
|
||||
curl_easy_cleanup(curl);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -154,9 +154,9 @@ int main(void)
|
|||
* should be able to reuse this connection for additional messages
|
||||
* (setting CURLOPT_MAIL_FROM and CURLOPT_MAIL_RCPT as required, and
|
||||
* calling curl_easy_perform() again. It may not be a good idea to keep
|
||||
* the connection open for a very long time though (more than a few
|
||||
* minutes may result in the server timing out the connection), and you do
|
||||
* want to clean up in the end.
|
||||
* the connection open for a long time though (more than a few minutes may
|
||||
* result in the server timing out the connection), and you do want to
|
||||
* clean up in the end.
|
||||
*/
|
||||
curl_easy_cleanup(curl);
|
||||
|
||||
|
|
|
|||
|
|
@ -146,7 +146,7 @@ int main(void)
|
|||
curl_easy_setopt(curl, CURLOPT_READDATA, &upload_ctx);
|
||||
curl_easy_setopt(curl, CURLOPT_UPLOAD, 1L);
|
||||
|
||||
/* Since the traffic will be encrypted, it is very useful to turn on debug
|
||||
/* Since the traffic will be encrypted, it is useful to turn on debug
|
||||
* information within libcurl to see what is happening during the
|
||||
* transfer */
|
||||
curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
|
||||
|
|
|
|||
|
|
@ -148,8 +148,9 @@ int main(void)
|
|||
curl_easy_setopt(curl, CURLOPT_READDATA, &upload_ctx);
|
||||
curl_easy_setopt(curl, CURLOPT_UPLOAD, 1L);
|
||||
|
||||
/* Since the traffic will be encrypted, it is very useful to turn on debug
|
||||
* information within libcurl to see what is happening during the transfer.
|
||||
/* Since the traffic will be encrypted, it is useful to turn on debug
|
||||
* information within libcurl to see what is happening during the
|
||||
* transfer.
|
||||
*/
|
||||
curl_easy_setopt(curl, CURLOPT_VERBOSE, 1L);
|
||||
|
||||
|
|
|
|||
|
|
@ -69,9 +69,9 @@ int main(void)
|
|||
curl_slist_free_all(recipients);
|
||||
|
||||
/* curl will not send the QUIT command until you call cleanup, so you
|
||||
* should be able to reuse this connection for additional requests. It
|
||||
* may not be a good idea to keep the connection open for a very long time
|
||||
* though (more than a few minutes may result in the server timing out the
|
||||
* should be able to reuse this connection for additional requests. It may
|
||||
* not be a good idea to keep the connection open for a long time though
|
||||
* (more than a few minutes may result in the server timing out the
|
||||
* connection) and you do want to clean up in the end.
|
||||
*/
|
||||
curl_easy_cleanup(curl);
|
||||
|
|
|
|||
|
|
@ -41,7 +41,7 @@
|
|||
*
|
||||
* Synchronising your computer clock via Internet time server usually relies
|
||||
* on DAYTIME, TIME, or NTP protocols. These protocols provide good accurate
|
||||
* time synchronization but it does not work very well through a
|
||||
* time synchronization but it does not work well through a
|
||||
* firewall/proxy. Some adjustment has to be made to the firewall/proxy for
|
||||
* these protocols to work properly.
|
||||
*
|
||||
|
|
@ -54,7 +54,7 @@
|
|||
* 2. Webserver system time must in sync with the NTP time server,
|
||||
* or at least provide an accurate time keeping.
|
||||
* 3. Webserver HTTP header does not provide the milliseconds units,
|
||||
* so there is no way to get very accurate time.
|
||||
* so there is no way to get an accurate time.
|
||||
* 4. This software could only provide an accuracy of +- a few seconds,
|
||||
* as Round-Trip delay time is not taken into consideration.
|
||||
* Compensation of network, firewall/proxy delay cannot be simply divide
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue