[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnurl] 02/02: mdocml
From: |
gnunet |
Subject: |
[gnurl] 02/02: mdocml |
Date: |
Thu, 07 Nov 2019 01:47:54 +0100 |
This is an automated email from the git hooks/post-receive script.
ng0 pushed a commit to branch master
in repository gnurl.
commit 73f63bc358b1e4d8337ba20a810ea52208e60304
Author: ng0 <address@hidden>
AuthorDate: Thu Nov 7 00:47:33 2019 +0000
mdocml
---
.../opts/GNURLMOPT_MAX_CONCURRENT_STREAMS.3 | 64 +++++++++++++---------
1 file changed, 37 insertions(+), 27 deletions(-)
diff --git a/docs/libcurl/opts/GNURLMOPT_MAX_CONCURRENT_STREAMS.3
b/docs/libcurl/opts/GNURLMOPT_MAX_CONCURRENT_STREAMS.3
index ad32cf8e8..3e59209ad 100644
--- a/docs/libcurl/opts/GNURLMOPT_MAX_CONCURRENT_STREAMS.3
+++ b/docs/libcurl/opts/GNURLMOPT_MAX_CONCURRENT_STREAMS.3
@@ -20,37 +20,47 @@
.\" *
.\" **************************************************************************
.\"
-.TH GNURLMOPT_MAX_CONCURRENT_STREAMS 3 "06 Nov 2019" "libcurl 7.67.0"
"curl_multi_setopt options"
-.SH NAME
-CURLMOPT_MAX_CONCURRENT_STREAMS \- set max concurrent streams for http2
-.SH SYNOPSIS
-.nf
-#include <gnurl/curl.h>
-
-CURLMcode curl_multi_setopt(CURLM *handle, CURLMOPT_MAX_CONCURRENT_STREAMS,
- long max);
-.fi
-.SH DESCRIPTION
-Pass a long indicating the \fBmax\fP. The set number will be used as the
+.Dd November 06, 2019
+.Dt GNURLMOPT_MAX_CONCURRENT_STREAMS 3
+.Os
+.Sh NAME
+.Nm CURLMOPT_MAX_CONCURRENT_STREAMS ,
+.Nm curl_multi_setopt
+.Nd set max concurrent streams for http2
+.Sh LIBRARY
+.Lb libgnurl
+.Sh SYNOPSIS
+.In gnurl/curl.h
+.Ft CURLMcode
+.Fn curl_multi_setopt "CURLM *handle" "CURLMOPT_MAX_CONCURRENT_STREAMS" "long
max"
+.Sh DESCRIPTION
+Pass a long indicating the
+.Fa max .
+The set number will be used as the
maximum number of concurrent streams for a connections that libcurl should
support on connections done using HTTP/2.
-
Valid values range from 1 to 2147483647 (2^31 - 1) and defaults to 100. The
value passed here would be honoured based on other system resources
properties.
-.SH DEFAULT
+.Sh DEFAULT
100
-.SH PROTOCOLS
+.Sh PROTOCOLS
All
-.SH EXAMPLE
-.nf
- CURLM *m = curl_multi_init();
- /* max concurrent streams 200 */
- curl_multi_setopt(m, CURLMOPT_MAX_CONCURRENT_STREAMS, 200L);
-.fi
-.SH AVAILABILITY
-Added in 7.67.0
-.SH RETURN VALUE
-Returns CURLM_OK if the option is supported, and CURLM_UNKNOWN_OPTION if not.
-.SH "SEE ALSO"
-.BR CURLOPT_MAXCONNECTS "(3), " CURLMOPT_MAXCONNECTS "(3), "
+.Sh EXAMPLES
+.Bd -literal -offset indent
+CURLM *m = curl_multi_init();
+/* max concurrent streams 200 */
+curl_multi_setopt(m, CURLMOPT_MAX_CONCURRENT_STREAMS, 200L);
+.Ed
+.Sh HISTORY
+.Nm
+first appeared in in curl 7.67.0.
+.Sh RETURN VALUES
+Returns
+.Va CURLM_OK
+if the option is supported, and
+.Va CURLM_UNKNOWN_OPTION
+if not.
+.Sh SEE ALSO
+.Xr GNURLOPT_MAXCONNECTS 3 ,
+.Xr GNURLMOPT_MAXCONNECTS 3
--
To stop receiving notification emails like this one, please contact
address@hidden.