mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
persistant updates
This commit is contained in:
parent
440a3101d0
commit
a6cb9b08b2
@ -58,9 +58,16 @@ Portability
|
|||||||
you to init the winsock stuff before you use the libcurl functions. Details
|
you to init the winsock stuff before you use the libcurl functions. Details
|
||||||
on this are noted on the curl_easy_init() man page.
|
on this are noted on the curl_easy_init() man page.
|
||||||
|
|
||||||
(*) = it appears users of the cygwin environment gets this done
|
(*) = it appears as if users of the cygwin environment get this done
|
||||||
automatically.
|
automatically.
|
||||||
|
|
||||||
|
Threads
|
||||||
|
|
||||||
|
Never *ever* call curl-functions simultaneously using the same handle from
|
||||||
|
several threads. libcurl is thread-safe and can be used in any number of
|
||||||
|
threads, but you must use separate curl handles if you want to use libcurl in
|
||||||
|
more than one thread simultaneously.
|
||||||
|
|
||||||
Persistant Connections
|
Persistant Connections
|
||||||
|
|
||||||
With libcurl 7.7, persistant connections were added. Persistant connections
|
With libcurl 7.7, persistant connections were added. Persistant connections
|
||||||
|
@ -2,7 +2,7 @@
|
|||||||
.\" nroff -man [file]
|
.\" nroff -man [file]
|
||||||
.\" Written by daniel@haxx.se
|
.\" Written by daniel@haxx.se
|
||||||
.\"
|
.\"
|
||||||
.TH curl_easy_setopt 3 "6 March 2001" "libcurl 7.5" "libcurl Manual"
|
.TH curl_easy_setopt 3 "12 March 2001" "libcurl 7.7" "libcurl Manual"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
curl_easy_setopt - Set curl easy-session options
|
curl_easy_setopt - Set curl easy-session options
|
||||||
.SH SYNOPSIS
|
.SH SYNOPSIS
|
||||||
@ -26,6 +26,13 @@ NOTE: strings passed to libcurl as 'char *' arguments, will not be copied by
|
|||||||
the library. Instead you should keep them available until libcurl no longer
|
the library. Instead you should keep them available until libcurl no longer
|
||||||
needs them. Failing to do so will cause very odd behaviour or even crashes.
|
needs them. Failing to do so will cause very odd behaviour or even crashes.
|
||||||
|
|
||||||
|
More note: the options set with this function call are valid for the
|
||||||
|
forthcoming data transfers that are performed when you invoke
|
||||||
|
.I curl_easy_perform .
|
||||||
|
The options are not in any way reset between transfers, so if you want
|
||||||
|
subsequent transfers with different options, you must change them between the
|
||||||
|
transfers.
|
||||||
|
|
||||||
The
|
The
|
||||||
.I "handle"
|
.I "handle"
|
||||||
is the return code from the
|
is the return code from the
|
||||||
|
Loading…
Reference in New Issue
Block a user