mirror of
https://github.com/curl/curl.git
synced 2026-08-24 23:43:40 +03:00
tidy-up: miscellaneous
- avoid "will" in builds scripts, scripts folder, curl_easy_ssls_export.md,
and few other files.
- badwords: add "initialise", "nul terminated", "thread safety" and
variations.
- prefer "null-terminat", where missing (two places).
- fix "null-terminat*" missing dash.
- hostip: merge two `#if` blocks.
- tool_doswin: fix comment
Spotted by GitHub Code Quality
Follow-up to 9a2663322c #17572
- fix stray spaces and newlines.
Closes #21638
This commit is contained in:
parent
47f411c6d8
commit
614b94eecc
64 changed files with 203 additions and 213 deletions
|
|
@ -149,8 +149,7 @@ int main(void)
|
|||
if(curl) {
|
||||
curl_easy_setopt(curl, CURLOPT_SHARE, share);
|
||||
|
||||
/* run a transfer, all TLS sessions received will be added
|
||||
* to the share. */
|
||||
/* run a transfer, all TLS sessions received are added to the share. */
|
||||
curl_easy_setopt(curl, CURLOPT_URL, "https://example.com/");
|
||||
curl_easy_perform(curl);
|
||||
|
||||
|
|
|
|||
|
|
@ -13,12 +13,12 @@ Added-in: n/a
|
|||
|
||||
# NAME
|
||||
|
||||
libcurl-thread - libcurl thread safety
|
||||
libcurl-thread - libcurl thread-safety
|
||||
|
||||
# Multi-threading with libcurl
|
||||
|
||||
libcurl is thread-safe but has no internal thread synchronization. You may have
|
||||
to provide your own locking should you meet any of the thread safety exceptions
|
||||
to provide your own locking should you meet any of the thread-safety exceptions
|
||||
below.
|
||||
|
||||
# Handles
|
||||
|
|
|
|||
|
|
@ -174,7 +174,7 @@ to select the active SSL backend.
|
|||
|
||||
The global constant functions are thread-safe since libcurl 7.84.0 if
|
||||
curl_version_info(3) has the CURL_VERSION_THREADSAFE feature bit set
|
||||
(most platforms). Read libcurl-thread(3) for thread safety guidelines.
|
||||
(most platforms). Read libcurl-thread(3) for thread-safety guidelines.
|
||||
|
||||
If the global constant functions are *not thread-safe*, then you must
|
||||
not call them when any other thread in the program is running. It
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue