diff options
author | ng0 <ng0@n0.is> | 2018-01-21 22:37:57 +0000 |
---|---|---|
committer | ng0 <ng0@n0.is> | 2018-01-21 22:37:57 +0000 |
commit | cc5f34a99383aa99937d545f25eb1eb8cabe2ca1 (patch) | |
tree | f295bd95086d293679d9d4f0a97ce66c66dc2137 /docs/libcurl/gnurl_share_setopt.3 | |
parent | 851483824fd0071cc8ac5454c475a90dfcb5f6c5 (diff) | |
parent | 9d82cde7b2bd839600041b9ca1f2f743cce23df2 (diff) | |
download | gnurl-cc5f34a99383aa99937d545f25eb1eb8cabe2ca1.tar.gz gnurl-cc5f34a99383aa99937d545f25eb1eb8cabe2ca1.tar.bz2 gnurl-cc5f34a99383aa99937d545f25eb1eb8cabe2ca1.zip |
Merge branch 'master' of https://github.com/curl/curl
Diffstat (limited to 'docs/libcurl/gnurl_share_setopt.3')
-rw-r--r-- | docs/libcurl/gnurl_share_setopt.3 | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/docs/libcurl/gnurl_share_setopt.3 b/docs/libcurl/gnurl_share_setopt.3 index 57fb7d9e5..c9966214e 100644 --- a/docs/libcurl/gnurl_share_setopt.3 +++ b/docs/libcurl/gnurl_share_setopt.3 @@ -75,8 +75,15 @@ Put the connection cache in the share object and make all easy handles using this share object share the connection cache. Using this, you can for example do multi-threaded libcurl use with one handle in each thread, and yet have a shared pool of unused connections and this way get way better connection -re-use than if you use one separate pool in each thread. Support for this was -added in 7.57.0, but the symbol existed long before this. +re-use than if you use one separate pool in each thread. + +Connections that are used for HTTP/1.1 Pipelining or HTTP/2 multiplexing only +get additional transfers added to them if the existing connection is held by +the same multi or easy handle. libcurl does not support doing HTTP/2 streams +in different threads using a shared connection. + +Support for \fBCURL_LOCK_DATA_CONNECT\fP was added in 7.57.0, but the symbol +existed before this. .RE .IP CURLSHOPT_UNSHARE This option does the opposite of \fICURLSHOPT_SHARE\fP. It specifies that |