Annotation of embedaddon/curl/docs/libcurl/opts/CURLMOPT_MAX_CONCURRENT_STREAMS.3, revision 1.1

1.1     ! misho       1: .\" **************************************************************************
        !             2: .\" *                                  _   _ ____  _
        !             3: .\" *  Project                     ___| | | |  _ \| |
        !             4: .\" *                             / __| | | | |_) | |
        !             5: .\" *                            | (__| |_| |  _ <| |___
        !             6: .\" *                             \___|\___/|_| \_\_____|
        !             7: .\" *
        !             8: .\" * Copyright (C) 1998 - 2019, Daniel Stenberg, <daniel@haxx.se>, et al.
        !             9: .\" *
        !            10: .\" * This software is licensed as described in the file COPYING, which
        !            11: .\" * you should have received as part of this distribution. The terms
        !            12: .\" * are also available at https://curl.haxx.se/docs/copyright.html.
        !            13: .\" *
        !            14: .\" * You may opt to use, copy, modify, merge, publish, distribute and/or sell
        !            15: .\" * copies of the Software, and permit persons to whom the Software is
        !            16: .\" * furnished to do so, under the terms of the COPYING file.
        !            17: .\" *
        !            18: .\" * This software is distributed on an "AS IS" basis, WITHOUT WARRANTY OF ANY
        !            19: .\" * KIND, either express or implied.
        !            20: .\" *
        !            21: .\" **************************************************************************
        !            22: .\"
        !            23: .TH CURLMOPT_MAX_CONCURRENT_STREAMS 3 "06 Nov 2019" "libcurl 7.67.0" "curl_multi_setopt options"
        !            24: .SH NAME
        !            25: CURLMOPT_MAX_CONCURRENT_STREAMS \- set max concurrent streams for http2
        !            26: .SH SYNOPSIS
        !            27: .nf
        !            28: #include <curl/curl.h>
        !            29: 
        !            30: CURLMcode curl_multi_setopt(CURLM *handle, CURLMOPT_MAX_CONCURRENT_STREAMS,
        !            31:                             long max);
        !            32: .fi
        !            33: .SH DESCRIPTION
        !            34: Pass a long indicating the \fBmax\fP. The set number will be used as the
        !            35: maximum number of concurrent streams for a connections that libcurl should
        !            36: support on connections done using HTTP/2.
        !            37: 
        !            38: Valid values range from 1 to 2147483647 (2^31 - 1) and defaults to 100.  The
        !            39: value passed here would be honoured based on other system resources
        !            40: properties.
        !            41: .SH DEFAULT
        !            42: 100
        !            43: .SH PROTOCOLS
        !            44: All
        !            45: .SH EXAMPLE
        !            46: .nf
        !            47:   CURLM *m = curl_multi_init();
        !            48:   /* max concurrent streams 200 */
        !            49:   curl_multi_setopt(m, CURLMOPT_MAX_CONCURRENT_STREAMS, 200L);
        !            50: .fi
        !            51: .SH AVAILABILITY
        !            52: Added in 7.67.0
        !            53: .SH RETURN VALUE
        !            54: Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not.
        !            55: .SH "SEE ALSO"
        !            56: .BR CURLOPT_MAXCONNECTS "(3), " CURLMOPT_MAXCONNECTS "(3), "

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>