CURLMOPT_MAXCONNECTS(3) 맨 페이지 - 윈디하나의 솔라나라

개요

섹션
맨 페이지 이름
검색(S)

CURLMOPT_MAXCONNECTS(3)

/usr/local/bin/rman를 실행할 수 없습니다

CURLMOPT_MAXCONNECTS(3)    Library Functions Manual    CURLMOPT_MAXCONNECTS(3)

NAME
       CURLMOPT_MAXCONNECTS - size of connection cache

SYNOPSIS
       #include <curl/curl.h>

       CURLMcode curl_multi_setopt(CURLM *handle, CURLMOPT_MAXCONNECTS, long max);

DESCRIPTION
       Pass  a long indicating the max, the maximum amount of connections that
       libcurl may keep alive in its connection cache after  use.  By  default
       libcurl  enlarges  the size for each added easy handle to make it fit 4
       times the number of added easy handles.

       By setting this option, you prevent the cache size from growing  beyond
       the limit set by you.

       When  the  cache  is full, curl closes the oldest connection present in
       the cache to prevent the number of connections from increasing.

       This option is for the multi handle's use only, when using the easy in‐
       terface you should instead use the CURLOPT_MAXCONNECTS(3) option.

       See CURLMOPT_MAX_TOTAL_CONNECTIONS(3) for limiting the number of active
       connections.

       Changing this value when there are transfers in progress  is  possible,
       and the new value is then used the next time checks are performed. Low‐
       ering  the  value  does  not close down any active transfers, it simply
       does not allow new ones to get made.

DEFAULT
       See DESCRIPTION

PROTOCOLS
       This functionality affects all supported protocols

EXAMPLE
       int main(void)
       {
         CURLM *m = curl_multi_init();
         /* only keep 10 connections in the cache */
         curl_multi_setopt(m, CURLMOPT_MAXCONNECTS, 10L);
       }

AVAILABILITY
       Added in curl 7.16.3

RETURN VALUE
       curl_multi_setopt(3) returns a CURLMcode indicating success or error.

       CURLM_OK (0) means everything was OK, non-zero means an error occurred,
       see libcurl-errors(3).


ATTRIBUTES
       See attributes(7) for descriptions of the following attributes:

       box; cbp-1 | cbp-1 l | l .  ATTRIBUTE TYPE ATTRIBUTE VALUE = Availabil‐
       ity   web/curl = Stability Uncommitted

SEE ALSO
       CURLMOPT_MAX_HOST_CONNECTIONS(3), CURLOPT_MAXCONNECTS(3)



NOTES
       Source code for open source software components in Oracle  Solaris  can
       be found at https://www.oracle.com/downloads/opensource/solaris-source-
       code-downloads.html.

       This software was built from source available at:
       https://github.com/oracle/solaris-userland

       The original community source was downloaded from:
       https://curl.se/download/curl-8.17.0.tar.bz2

       Further information about this software can be found on the open source
       community website at http://curl.haxx.se/.

libcurl                           2025-12-01           CURLMOPT_MAXCONNECTS(3)
맨 페이지 내용의 저작권은 맨 페이지 작성자에게 있습니다.
RSS ATOM XHTML 5 CSS3