~ubuntu-branches/ubuntu/jaunty/curl/jaunty-security

« back to all changes in this revision

Viewing changes to docs/libcurl/curl_multi_setopt.3

  • Committer: Bazaar Package Importer
  • Author(s): Matthias Klose
  • Date: 2007-08-01 12:22:30 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20070801122230-uaarmp6lo65py9t6
Tags: 7.16.4-1ubuntu1
* Merge with Debian.
  - Drop debian/patches/gnutls-verifications, applied upstream.
  - Remove all stuff which should be reverted according to 7.16.2-6ubuntu4.
  - Remaining change: drop stunnel build dependency.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
.\" $Id: curl_multi_setopt.3,v 1.5 2006-10-12 08:36:49 bagder Exp $
 
1
.\" $Id: curl_multi_setopt.3,v 1.6 2007-05-30 20:04:44 bagder Exp $
2
2
.\"
3
3
.TH curl_multi_setopt 3 "10 Oct 2006" "libcurl 7.16.0" "libcurl Manual"
4
4
.SH NAME
56
56
\fBcurl_multi_timer_callback\fP's third argument, the userp pointer.  This is
57
57
not used by libcurl but only passed-thru as-is. Set the callback pointer with
58
58
\fICURLMOPT_TIMERFUNCTION\fP. (Added in 7.16.0)
 
59
.IP CURLMOPT_MAXCONNECTS
 
60
Pass a long. The set number will be used as the maximum amount of
 
61
simultaneously open connections that libcurl may cache. Default is 10, and
 
62
libcurl will enlarge the size for each added easy handle to make it fit 4
 
63
times the number of added easy handles.
 
64
 
 
65
By setting this option, you can prevent the cache size to grow beyond the
 
66
limit set by you.
 
67
 
 
68
When the cache is full, curl closes the oldest one in the cache to prevent the
 
69
number of open connections to increase.
 
70
 
 
71
This option is for the multi handle's use only, when using the easy interface
 
72
you should instead use the \fICURLOPT_MAXCONNECTS\fP option.
 
73
 
 
74
(Added in 7.16.3)
59
75
.SH RETURNS
60
76
The standard CURLMcode for multi interface error codes. Note that it returns a
61
77
CURLM_UNKNOWN_OPTION if you try setting an option that this version of libcurl