mirror of
https://codeberg.org/kiss-community/repo
synced 2025-01-21 18:04:41 -07:00
curl: 8.8.0
This commit is contained in:
parent
756b9a894d
commit
ad5869103c
@ -8,6 +8,7 @@ sed 's/\(curl_LDADD =\)/\1 -all-static/' src/Makefile.in > _
|
||||
mv -f _ src/Makefile.in
|
||||
|
||||
./configure \
|
||||
ac_cv_path_PERL=true \
|
||||
--prefix=/usr \
|
||||
--enable-ipv6 \
|
||||
--enable-unix-sockets \
|
||||
|
1002
core/curl/checksums
1002
core/curl/checksums
File diff suppressed because it is too large
Load Diff
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_ACTIVESOCKET.md
|
||||
.TH CURLINFO_ACTIVESOCKET 3 libcurl
|
||||
.TH CURLINFO_ACTIVESOCKET 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_ACTIVESOCKET \- get the active socket
|
||||
.SH SYNOPSIS
|
||||
@ -36,14 +36,19 @@ int main(void)
|
||||
/* Do not do the transfer - only connect to host */
|
||||
curl_easy_setopt(curl, CURLOPT_CONNECT_ONLY, 1L);
|
||||
res = curl_easy_perform(curl);
|
||||
if(res != CURLE_OK) {
|
||||
printf("Error: %s\\n", curl_easy_strerror(res));
|
||||
curl_easy_cleanup(curl);
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* Extract the socket from the curl handle */
|
||||
res = curl_easy_getinfo(curl, CURLINFO_ACTIVESOCKET, &sockfd);
|
||||
|
||||
if(res != CURLE_OK) {
|
||||
printf("Error: %s\\n", curl_easy_strerror(res));
|
||||
return 1;
|
||||
if(!res && sockfd != CURL_SOCKET_BAD) {
|
||||
/* operate on sockfd */
|
||||
}
|
||||
|
||||
curl_easy_cleanup(curl);
|
||||
}
|
||||
}
|
||||
.fi
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_APPCONNECT_TIME.md
|
||||
.TH CURLINFO_APPCONNECT_TIME 3 libcurl
|
||||
.TH CURLINFO_APPCONNECT_TIME 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_APPCONNECT_TIME \- get the time until the SSL/SSH handshake is completed
|
||||
.SH SYNOPSIS
|
||||
@ -12,9 +12,9 @@ CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_APPCONNECT_TIME,
|
||||
.SH DESCRIPTION
|
||||
Pass a pointer to a double to receive the time, in seconds, it took from the
|
||||
start until the SSL/SSH connect/handshake to the remote host was completed.
|
||||
This time is most often close to the \fICURLINFO_PRETRANSFER_TIME(3)\fP time,
|
||||
except for cases such as HTTP pipelining where the pretransfer time can be
|
||||
delayed due to waits in line for the pipeline and more.
|
||||
This time is most often close to the \fICURLINFO_PRETRANSFER_TIME(3)\fP time, except
|
||||
for cases such as HTTP multiplexing where the pretransfer time can be delayed
|
||||
due to waits in line for the stream and more.
|
||||
|
||||
When a redirect is followed, the time from each request is added together.
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_APPCONNECT_TIME_T.md
|
||||
.TH CURLINFO_APPCONNECT_TIME_T 3 libcurl
|
||||
.TH CURLINFO_APPCONNECT_TIME_T 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_APPCONNECT_TIME_T \- time until the SSL/SSH handshake completed
|
||||
.SH SYNOPSIS
|
||||
@ -12,10 +12,9 @@ CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_APPCONNECT_TIME_T,
|
||||
.SH DESCRIPTION
|
||||
Pass a pointer to a curl_off_t to receive the time, in microseconds, it took
|
||||
from the start until the SSL/SSH connect/handshake to the remote host was
|
||||
completed. This time is most often close to the
|
||||
\fICURLINFO_PRETRANSFER_TIME_T(3)\fP time, except for cases such as HTTP
|
||||
pipelining where the pretransfer time can be delayed due to waits in line for
|
||||
the pipeline and more.
|
||||
completed. This time is most often close to the \fICURLINFO_PRETRANSFER_TIME_T(3)\fP
|
||||
time, except for cases such as HTTP multiplexing where the pretransfer time
|
||||
can be delayed due to waits in line for the stream and more.
|
||||
|
||||
When a redirect is followed, the time from each request is added together.
|
||||
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_CAINFO.md
|
||||
.TH CURLINFO_CAINFO 3 libcurl
|
||||
.TH CURLINFO_CAINFO 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_CAINFO \- get the default built\-in CA certificate path
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_CAPATH.md
|
||||
.TH CURLINFO_CAPATH 3 libcurl
|
||||
.TH CURLINFO_CAPATH 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_CAPATH \- get the default built\-in CA path string
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_CERTINFO.md
|
||||
.TH CURLINFO_CERTINFO 3 libcurl
|
||||
.TH CURLINFO_CERTINFO 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_CERTINFO \- get the TLS certificate chain
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_CONDITION_UNMET.md
|
||||
.TH CURLINFO_CONDITION_UNMET 3 libcurl
|
||||
.TH CURLINFO_CONDITION_UNMET 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_CONDITION_UNMET \- get info on unmet time conditional or 304 HTTP response.
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_CONNECT_TIME.md
|
||||
.TH CURLINFO_CONNECT_TIME 3 libcurl
|
||||
.TH CURLINFO_CONNECT_TIME 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_CONNECT_TIME \- get the time until connect
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_CONNECT_TIME_T.md
|
||||
.TH CURLINFO_CONNECT_TIME_T 3 libcurl
|
||||
.TH CURLINFO_CONNECT_TIME_T 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_CONNECT_TIME_T \- get the time until connect
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_CONN_ID.md
|
||||
.TH CURLINFO_CONN_ID 3 libcurl
|
||||
.TH CURLINFO_CONN_ID 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_CONN_ID \- get the ID of the last connection used by the handle
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_CONTENT_LENGTH_DOWNLOAD.md
|
||||
.TH CURLINFO_CONTENT_LENGTH_DOWNLOAD 3 libcurl
|
||||
.TH CURLINFO_CONTENT_LENGTH_DOWNLOAD 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_CONTENT_LENGTH_DOWNLOAD \- get content\-length of download
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_CONTENT_LENGTH_DOWNLOAD_T.md
|
||||
.TH CURLINFO_CONTENT_LENGTH_DOWNLOAD_T 3 libcurl
|
||||
.TH CURLINFO_CONTENT_LENGTH_DOWNLOAD_T 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_CONTENT_LENGTH_DOWNLOAD_T \- get content\-length of download
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_CONTENT_LENGTH_UPLOAD.md
|
||||
.TH CURLINFO_CONTENT_LENGTH_UPLOAD 3 libcurl
|
||||
.TH CURLINFO_CONTENT_LENGTH_UPLOAD 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_CONTENT_LENGTH_UPLOAD \- get the specified size of the upload
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_CONTENT_LENGTH_UPLOAD_T.md
|
||||
.TH CURLINFO_CONTENT_LENGTH_UPLOAD_T 3 libcurl
|
||||
.TH CURLINFO_CONTENT_LENGTH_UPLOAD_T 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_CONTENT_LENGTH_UPLOAD_T \- get the specified size of the upload
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_CONTENT_TYPE.md
|
||||
.TH CURLINFO_CONTENT_TYPE 3 libcurl
|
||||
.TH CURLINFO_CONTENT_TYPE 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_CONTENT_TYPE \- get Content\-Type
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_COOKIELIST.md
|
||||
.TH CURLINFO_COOKIELIST 3 libcurl
|
||||
.TH CURLINFO_COOKIELIST 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_COOKIELIST \- get all known cookies
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_EFFECTIVE_METHOD.md
|
||||
.TH CURLINFO_EFFECTIVE_METHOD 3 libcurl
|
||||
.TH CURLINFO_EFFECTIVE_METHOD 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_EFFECTIVE_METHOD \- get the last used HTTP method
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_EFFECTIVE_URL.md
|
||||
.TH CURLINFO_EFFECTIVE_URL 3 libcurl
|
||||
.TH CURLINFO_EFFECTIVE_URL 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_EFFECTIVE_URL \- get the last used URL
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_FILETIME.md
|
||||
.TH CURLINFO_FILETIME 3 libcurl
|
||||
.TH CURLINFO_FILETIME 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_FILETIME \- get the remote time of the retrieved document
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_FILETIME_T.md
|
||||
.TH CURLINFO_FILETIME 3 libcurl
|
||||
.TH CURLINFO_FILETIME 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_FILETIME_T \- get the remote time of the retrieved document
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_FTP_ENTRY_PATH.md
|
||||
.TH CURLINFO_FTP_ENTRY_PATH 3 libcurl
|
||||
.TH CURLINFO_FTP_ENTRY_PATH 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_FTP_ENTRY_PATH \- get entry path in FTP server
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_HEADER_SIZE.md
|
||||
.TH CURLINFO_HEADER_SIZE 3 libcurl
|
||||
.TH CURLINFO_HEADER_SIZE 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_HEADER_SIZE \- get size of retrieved headers
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_HTTPAUTH_AVAIL.md
|
||||
.TH CURLINFO_HTTPAUTH_AVAIL 3 libcurl
|
||||
.TH CURLINFO_HTTPAUTH_AVAIL 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_HTTPAUTH_AVAIL \- get available HTTP authentication methods
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_HTTP_CONNECTCODE.md
|
||||
.TH CURLINFO_HTTP_CONNECTCODE 3 libcurl
|
||||
.TH CURLINFO_HTTP_CONNECTCODE 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_HTTP_CONNECTCODE \- get the CONNECT response code
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_HTTP_VERSION.md
|
||||
.TH CURLINFO_HTTP_VERSION 3 libcurl
|
||||
.TH CURLINFO_HTTP_VERSION 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_HTTP_VERSION \- get the http version used in the connection
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_LASTSOCKET.md
|
||||
.TH CURLINFO_LASTSOCKET 3 libcurl
|
||||
.TH CURLINFO_LASTSOCKET 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_LASTSOCKET \- get the last socket used
|
||||
.SH SYNOPSIS
|
||||
@ -36,14 +36,19 @@ int main(void)
|
||||
/* Do not do the transfer - only connect to host */
|
||||
curl_easy_setopt(curl, CURLOPT_CONNECT_ONLY, 1L);
|
||||
res = curl_easy_perform(curl);
|
||||
if(res != CURLE_OK) {
|
||||
printf("Error: %s\\n", curl_easy_strerror(res));
|
||||
curl_easy_cleanup(curl);
|
||||
return 1;
|
||||
}
|
||||
|
||||
/* Extract the socket from the curl handle */
|
||||
res = curl_easy_getinfo(curl, CURLINFO_LASTSOCKET, &sockfd);
|
||||
|
||||
if(res != CURLE_OK) {
|
||||
printf("Error: %s\\n", curl_easy_strerror(res));
|
||||
return 1;
|
||||
if(!res && sockfd != -1) {
|
||||
/* operate on sockfd */
|
||||
}
|
||||
|
||||
curl_easy_cleanup(curl);
|
||||
}
|
||||
}
|
||||
.fi
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_LOCAL_IP.md
|
||||
.TH CURLINFO_LOCAL_IP 3 libcurl
|
||||
.TH CURLINFO_LOCAL_IP 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_LOCAL_IP \- get local IP address of last connection
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_LOCAL_PORT.md
|
||||
.TH CURLINFO_LOCAL_PORT 3 libcurl
|
||||
.TH CURLINFO_LOCAL_PORT 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_LOCAL_PORT \- get the latest local port number
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_NAMELOOKUP_TIME.md
|
||||
.TH CURLINFO_NAMELOOKUP_TIME 3 libcurl
|
||||
.TH CURLINFO_NAMELOOKUP_TIME 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_NAMELOOKUP_TIME \- get the name lookup time
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_NAMELOOKUP_TIME_T.md
|
||||
.TH CURLINFO_NAMELOOKUP_TIME_T 3 libcurl
|
||||
.TH CURLINFO_NAMELOOKUP_TIME_T 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_NAMELOOKUP_TIME_T \- get the name lookup time in microseconds
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_NUM_CONNECTS.md
|
||||
.TH CURLINFO_NUM_CONNECTS 3 libcurl
|
||||
.TH CURLINFO_NUM_CONNECTS 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_NUM_CONNECTS \- get number of created connections
|
||||
.SH SYNOPSIS
|
||||
@ -30,7 +30,7 @@ int main(void)
|
||||
if(res == CURLE_OK) {
|
||||
long connects;
|
||||
res = curl_easy_getinfo(curl, CURLINFO_NUM_CONNECTS, &connects);
|
||||
if(res)
|
||||
if(!res)
|
||||
printf("It needed %ld connects\\n", connects);
|
||||
}
|
||||
curl_easy_cleanup(curl);
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_OS_ERRNO.md
|
||||
.TH CURLINFO_OS_ERRNO 3 libcurl
|
||||
.TH CURLINFO_OS_ERRNO 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_OS_ERRNO \- get errno number from last connect failure
|
||||
.SH SYNOPSIS
|
||||
@ -12,6 +12,14 @@ CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_OS_ERRNO, long *errnop);
|
||||
Pass a pointer to a long to receive the errno variable from a connect failure.
|
||||
Note that the value is only set on failure, it is not reset upon a successful
|
||||
operation. The number is OS and system specific.
|
||||
|
||||
libcurl network\-related errors that may have a saved errno are:
|
||||
CURLE_COULDNT_CONNECT, CURLE_FAILED_INIT, CURLE_INTERFACE_FAILED,
|
||||
CURLE_OPERATION_TIMEDOUT, CURLE_RECV_ERROR, CURLE_SEND_ERROR.
|
||||
|
||||
Since 8.8.0 libcurl clears the easy handle\(aqs saved errno before performing the
|
||||
transfer. Prior versions did not clear the saved errno, which means if a saved
|
||||
errno is retrieved it could be from a previous transfer on the same handle.
|
||||
.SH PROTOCOLS
|
||||
All
|
||||
.SH EXAMPLE
|
||||
@ -26,7 +34,7 @@ int main(void)
|
||||
if(res != CURLE_OK) {
|
||||
long error;
|
||||
res = curl_easy_getinfo(curl, CURLINFO_OS_ERRNO, &error);
|
||||
if(res && error) {
|
||||
if(!res && error) {
|
||||
printf("Errno: %ld\\n", error);
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_PRETRANSFER_TIME.md
|
||||
.TH CURLINFO_PRETRANSFER_TIME 3 libcurl
|
||||
.TH CURLINFO_PRETRANSFER_TIME 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_PRETRANSFER_TIME \- get the time until the file transfer start
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_PRETRANSFER_TIME_T.md
|
||||
.TH CURLINFO_PRETRANSFER_TIME_T 3 libcurl
|
||||
.TH CURLINFO_PRETRANSFER_TIME_T 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_PRETRANSFER_TIME_T \- get the time until the file transfer start
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_PRIMARY_IP.md
|
||||
.TH CURLINFO_PRIMARY_IP 3 libcurl
|
||||
.TH CURLINFO_PRIMARY_IP 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_PRIMARY_IP \- get IP address of last connection
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_PRIMARY_PORT.md
|
||||
.TH CURLINFO_PRIMARY_PORT 3 libcurl
|
||||
.TH CURLINFO_PRIMARY_PORT 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_PRIMARY_PORT \- get the latest destination port number
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_PRIVATE.md
|
||||
.TH CURLINFO_PRIVATE 3 libcurl
|
||||
.TH CURLINFO_PRIVATE 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_PRIVATE \- get the private pointer
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_PROTOCOL.md
|
||||
.TH CURLINFO_PROTOCOL 3 libcurl
|
||||
.TH CURLINFO_PROTOCOL 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_PROTOCOL \- get the protocol used in the connection
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_PROXYAUTH_AVAIL.md
|
||||
.TH CURLINFO_PROXYAUTH_AVAIL 3 libcurl
|
||||
.TH CURLINFO_PROXYAUTH_AVAIL 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_PROXYAUTH_AVAIL \- get available HTTP proxy authentication methods
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_PROXY_ERROR.md
|
||||
.TH CURLINFO_PROXY_ERROR 3 libcurl
|
||||
.TH CURLINFO_PROXY_ERROR 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_PROXY_ERROR \- get the detailed (SOCKS) proxy error
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_PROXY_SSL_VERIFYRESULT.md
|
||||
.TH CURLINFO_PROXY_SSL_VERIFYRESULT 3 libcurl
|
||||
.TH CURLINFO_PROXY_SSL_VERIFYRESULT 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_PROXY_SSL_VERIFYRESULT \- get the result of the proxy certificate verification
|
||||
.SH SYNOPSIS
|
||||
@ -13,6 +13,8 @@ CURLcode curl_easy_getinfo(CURL *handle, CURLINFO_PROXY_SSL_VERIFYRESULT,
|
||||
Pass a pointer to a long to receive the result of the certificate verification
|
||||
that was requested (using the \fICURLOPT_PROXY_SSL_VERIFYPEER(3)\fP
|
||||
option. This is only used for HTTPS proxies.
|
||||
|
||||
0 is a positive result. Non\-zero is an error.
|
||||
.SH PROTOCOLS
|
||||
All TLS based protocols: HTTPS, FTPS, IMAPS, POP3S, SMTPS etc.
|
||||
|
||||
@ -26,14 +28,23 @@ int main(void)
|
||||
if(curl) {
|
||||
CURLcode res;
|
||||
long verifyresult;
|
||||
|
||||
curl_easy_setopt(curl, CURLOPT_URL, "https://example.com");
|
||||
curl_easy_setopt(curl, CURLOPT_PROXY, "https://proxy:443");
|
||||
|
||||
res = curl_easy_perform(curl);
|
||||
if(res)
|
||||
if(res) {
|
||||
printf("error: %s\\n", curl_easy_strerror(res));
|
||||
curl_easy_getinfo(curl, CURLINFO_PROXY_SSL_VERIFYRESULT, &verifyresult);
|
||||
printf("The peer verification said %s\\n", verifyresult?
|
||||
"fine" : "bad");
|
||||
curl_easy_cleanup(curl);
|
||||
return 1;
|
||||
}
|
||||
|
||||
res = curl_easy_getinfo(curl, CURLINFO_PROXY_SSL_VERIFYRESULT,
|
||||
&verifyresult);
|
||||
if(!res) {
|
||||
printf("The peer verification said %s\\n",
|
||||
(verifyresult ? "bad" : "fine"));
|
||||
}
|
||||
curl_easy_cleanup(curl);
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_QUEUE_TIME_T.md
|
||||
.TH CURLINFO_QUEUE_TIME_T 3 libcurl
|
||||
.TH CURLINFO_QUEUE_TIME_T 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_QUEUE_TIME_T \- time this transfer was queued
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_REDIRECT_COUNT.md
|
||||
.TH CURLINFO_REDIRECT_COUNT 3 libcurl
|
||||
.TH CURLINFO_REDIRECT_COUNT 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_REDIRECT_COUNT \- get the number of redirects
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_REDIRECT_TIME.md
|
||||
.TH CURLINFO_REDIRECT_TIME 3 libcurl
|
||||
.TH CURLINFO_REDIRECT_TIME 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_REDIRECT_TIME \- get the time for all redirection steps
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_REDIRECT_TIME_T.md
|
||||
.TH CURLINFO_REDIRECT_TIME_T 3 libcurl
|
||||
.TH CURLINFO_REDIRECT_TIME_T 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_REDIRECT_TIME_T \- get the time for all redirection steps
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_REDIRECT_URL.md
|
||||
.TH CURLINFO_REDIRECT_URL 3 libcurl
|
||||
.TH CURLINFO_REDIRECT_URL 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_REDIRECT_URL \- get the URL a redirect would go to
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_REFERER.md
|
||||
.TH CURLINFO_REFERER 3 libcurl
|
||||
.TH CURLINFO_REFERER 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_REFERER \- get the used referrer request header
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_REQUEST_SIZE.md
|
||||
.TH CURLINFO_REQUEST_SIZE 3 libcurl
|
||||
.TH CURLINFO_REQUEST_SIZE 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_REQUEST_SIZE \- get size of sent request
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_RESPONSE_CODE.md
|
||||
.TH CURLINFO_RESPONSE_CODE 3 libcurl
|
||||
.TH CURLINFO_RESPONSE_CODE 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_RESPONSE_CODE \- get the last response code
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_RETRY_AFTER.md
|
||||
.TH CURLINFO_RETRY_AFTER 3 libcurl
|
||||
.TH CURLINFO_RETRY_AFTER 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_RETRY_AFTER \- returns the Retry\-After retry delay
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_RTSP_CLIENT_CSEQ.md
|
||||
.TH CURLINFO_RTSP_CLIENT_CSEQ 3 libcurl
|
||||
.TH CURLINFO_RTSP_CLIENT_CSEQ 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_RTSP_CLIENT_CSEQ \- get the next RTSP client CSeq
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_RTSP_CSEQ_RECV.md
|
||||
.TH CURLINFO_RTSP_CSEQ_RECV 3 libcurl
|
||||
.TH CURLINFO_RTSP_CSEQ_RECV 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_RTSP_CSEQ_RECV \- get the recently received CSeq
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_RTSP_SERVER_CSEQ.md
|
||||
.TH CURLINFO_RTSP_SERVER_CSEQ 3 libcurl
|
||||
.TH CURLINFO_RTSP_SERVER_CSEQ 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_RTSP_SERVER_CSEQ \- get the next RTSP server CSeq
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_RTSP_SESSION_ID.md
|
||||
.TH CURLINFO_RTSP_SESSION_ID 3 libcurl
|
||||
.TH CURLINFO_RTSP_SESSION_ID 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_RTSP_SESSION_ID \- get RTSP session ID
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_SCHEME.md
|
||||
.TH CURLINFO_SCHEME 3 libcurl
|
||||
.TH CURLINFO_SCHEME 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_SCHEME \- get the URL scheme (sometimes called protocol) used in the connection
|
||||
.SH SYNOPSIS
|
||||
@ -14,8 +14,11 @@ string holding the URL scheme used for the most recent connection done with
|
||||
this CURL \fBhandle\fP.
|
||||
|
||||
The \fBscheme\fP pointer is NULL or points to private memory. You MUST NOT
|
||||
free \- it gets freed when you call \fIcurl_easy_cleanup(3)\fP on the
|
||||
corresponding CURL handle.
|
||||
free \- it gets freed when you call \fIcurl_easy_cleanup(3)\fP on the corresponding
|
||||
CURL handle.
|
||||
|
||||
The returned scheme might be upper or lowercase. Do comparisons case
|
||||
insensitively.
|
||||
.SH PROTOCOLS
|
||||
All
|
||||
.SH EXAMPLE
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_SIZE_DOWNLOAD.md
|
||||
.TH CURLINFO_SIZE_DOWNLOAD 3 libcurl
|
||||
.TH CURLINFO_SIZE_DOWNLOAD 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_SIZE_DOWNLOAD \- get the number of downloaded bytes
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_SIZE_DOWNLOAD_T.md
|
||||
.TH CURLINFO_SIZE_DOWNLOAD_T 3 libcurl
|
||||
.TH CURLINFO_SIZE_DOWNLOAD_T 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_SIZE_DOWNLOAD_T \- get the number of downloaded bytes
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_SIZE_UPLOAD.md
|
||||
.TH CURLINFO_SIZE_UPLOAD 3 libcurl
|
||||
.TH CURLINFO_SIZE_UPLOAD 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_SIZE_UPLOAD \- get the number of uploaded bytes
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_SIZE_UPLOAD_T.md
|
||||
.TH CURLINFO_SIZE_UPLOAD_T 3 libcurl
|
||||
.TH CURLINFO_SIZE_UPLOAD_T 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_SIZE_UPLOAD_T \- get the number of uploaded bytes
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_SPEED_DOWNLOAD.md
|
||||
.TH CURLINFO_SPEED_DOWNLOAD 3 libcurl
|
||||
.TH CURLINFO_SPEED_DOWNLOAD 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_SPEED_DOWNLOAD \- get download speed
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_SPEED_DOWNLOAD_T.md
|
||||
.TH CURLINFO_SPEED_DOWNLOAD_T 3 libcurl
|
||||
.TH CURLINFO_SPEED_DOWNLOAD_T 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_SPEED_DOWNLOAD_T \- get download speed
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_SPEED_UPLOAD.md
|
||||
.TH CURLINFO_SPEED_UPLOAD 3 libcurl
|
||||
.TH CURLINFO_SPEED_UPLOAD 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_SPEED_UPLOAD \- get upload speed
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_SPEED_UPLOAD_T.md
|
||||
.TH CURLINFO_SPEED_UPLOAD_T 3 libcurl
|
||||
.TH CURLINFO_SPEED_UPLOAD_T 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_SPEED_UPLOAD_T \- get upload speed
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_SSL_ENGINES.md
|
||||
.TH CURLINFO_SSL_ENGINES 3 libcurl
|
||||
.TH CURLINFO_SSL_ENGINES 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_SSL_ENGINES \- get an slist of OpenSSL crypto\-engines
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_SSL_VERIFYRESULT.md
|
||||
.TH CURLINFO_SSL_VERIFYRESULT 3 libcurl
|
||||
.TH CURLINFO_SSL_VERIFYRESULT 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_SSL_VERIFYRESULT \- get the result of the certificate verification
|
||||
.SH SYNOPSIS
|
||||
@ -28,13 +28,22 @@ int main(void)
|
||||
if(curl) {
|
||||
CURLcode res;
|
||||
long verifyresult;
|
||||
|
||||
curl_easy_setopt(curl, CURLOPT_URL, "https://example.com");
|
||||
|
||||
res = curl_easy_perform(curl);
|
||||
if(res)
|
||||
if(res) {
|
||||
printf("error: %s\\n", curl_easy_strerror(res));
|
||||
curl_easy_getinfo(curl, CURLINFO_SSL_VERIFYRESULT, &verifyresult);
|
||||
printf("The peer verification said %s\\n", verifyresult?
|
||||
"BAAAD":"fine");
|
||||
curl_easy_cleanup(curl);
|
||||
return 1;
|
||||
}
|
||||
|
||||
res = curl_easy_getinfo(curl, CURLINFO_SSL_VERIFYRESULT,
|
||||
&verifyresult);
|
||||
if(!res) {
|
||||
printf("The peer verification said %s\\n",
|
||||
(verifyresult ? "bad" : "fine"));
|
||||
}
|
||||
curl_easy_cleanup(curl);
|
||||
}
|
||||
}
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_STARTTRANSFER_TIME.md
|
||||
.TH CURLINFO_STARTTRANSFER_TIME 3 libcurl
|
||||
.TH CURLINFO_STARTTRANSFER_TIME 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_STARTTRANSFER_TIME \- get the time until the first byte is received
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_STARTTRANSFER_TIME_T.md
|
||||
.TH CURLINFO_STARTTRANSFER_TIME_T 3 libcurl
|
||||
.TH CURLINFO_STARTTRANSFER_TIME_T 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_STARTTRANSFER_TIME_T \- get the time until the first byte is received
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_TLS_SESSION.md
|
||||
.TH CURLINFO_TLS_SESSION 3 libcurl
|
||||
.TH CURLINFO_TLS_SESSION 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_TLS_SESSION \- get TLS session info
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_TLS_SSL_PTR.md
|
||||
.TH CURLINFO_TLS_SSL_PTR 3 libcurl
|
||||
.TH CURLINFO_TLS_SSL_PTR 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_TLS_SESSION, CURLINFO_TLS_SSL_PTR \- get TLS session info
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_TOTAL_TIME.md
|
||||
.TH CURLINFO_TOTAL_TIME 3 libcurl
|
||||
.TH CURLINFO_TOTAL_TIME 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_TOTAL_TIME \- get total time of previous transfer
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_TOTAL_TIME_T.md
|
||||
.TH CURLINFO_TOTAL_TIME_T 3 libcurl
|
||||
.TH CURLINFO_TOTAL_TIME_T 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_TOTAL_TIME_T \- get total time of previous transfer in microseconds
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_USED_PROXY.md
|
||||
.TH CURLINFO_USED_PROXY 3 libcurl
|
||||
.TH CURLINFO_USED_PROXY 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_USED_PROXY \- whether the transfer used a proxy
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLINFO_XFER_ID.md
|
||||
.TH CURLINFO_XFER_ID 3 libcurl
|
||||
.TH CURLINFO_XFER_ID 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLINFO_XFER_ID \- get the ID of a transfer
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE.md
|
||||
.TH CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE 3 libcurl
|
||||
.TH CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE \- chunk length threshold for pipelining
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE.md
|
||||
.TH CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE 3 libcurl
|
||||
.TH CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE \- size threshold for pipelining penalty
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLMOPT_MAXCONNECTS.md
|
||||
.TH CURLMOPT_MAXCONNECTS 3 libcurl
|
||||
.TH CURLMOPT_MAXCONNECTS 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLMOPT_MAXCONNECTS \- size of connection cache
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLMOPT_MAX_CONCURRENT_STREAMS.md
|
||||
.TH CURLMOPT_MAX_CONCURRENT_STREAMS 3 libcurl
|
||||
.TH CURLMOPT_MAX_CONCURRENT_STREAMS 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLMOPT_MAX_CONCURRENT_STREAMS \- max concurrent streams for http2
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLMOPT_MAX_HOST_CONNECTIONS.md
|
||||
.TH CURLMOPT_MAX_HOST_CONNECTIONS 3 libcurl
|
||||
.TH CURLMOPT_MAX_HOST_CONNECTIONS 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLMOPT_MAX_HOST_CONNECTIONS \- max number of connections to a single host
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLMOPT_MAX_PIPELINE_LENGTH.md
|
||||
.TH CURLMOPT_MAX_PIPELINE_LENGTH 3 libcurl
|
||||
.TH CURLMOPT_MAX_PIPELINE_LENGTH 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLMOPT_MAX_PIPELINE_LENGTH \- maximum number of requests in a pipeline
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLMOPT_MAX_TOTAL_CONNECTIONS.md
|
||||
.TH CURLMOPT_MAX_TOTAL_CONNECTIONS 3 libcurl
|
||||
.TH CURLMOPT_MAX_TOTAL_CONNECTIONS 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLMOPT_MAX_TOTAL_CONNECTIONS \- max simultaneously open connections
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,7 +1,7 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLMOPT_PIPELINING.md
|
||||
.TH CURLMOPT_PIPELINING 3 libcurl
|
||||
.TH CURLMOPT_PIPELINING 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLMOPT_PIPELINING \- enable HTTP pipelining and multiplexing
|
||||
CURLMOPT_PIPELINING \- enable HTTP multiplexing
|
||||
.SH SYNOPSIS
|
||||
.nf
|
||||
#include <curl/curl.h>
|
||||
@ -9,8 +9,8 @@ CURLMOPT_PIPELINING \- enable HTTP pipelining and multiplexing
|
||||
CURLMcode curl_multi_setopt(CURLM *handle, CURLMOPT_PIPELINING, long bitmask);
|
||||
.fi
|
||||
.SH DESCRIPTION
|
||||
Pass in the correct value in the \fBbitmask\fP parameter to instruct libcurl
|
||||
to enable multiplexing for this multi handle.
|
||||
Pass in the correct value in the \fBbitmask\fP parameter to instruct libcurl to
|
||||
enable multiplexing for this multi handle.
|
||||
|
||||
With multiplexing enabled, libcurl attempts to do multiple transfers over the
|
||||
same connection when doing parallel transfers to the same hosts.
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLMOPT_PIPELINING_SERVER_BL.md
|
||||
.TH CURLMOPT_PIPELINING_SERVER_BL 3 libcurl
|
||||
.TH CURLMOPT_PIPELINING_SERVER_BL 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLMOPT_PIPELINING_SERVER_BL \- pipelining server block list
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLMOPT_PIPELINING_SITE_BL.md
|
||||
.TH CURLMOPT_PIPELINING_SITE_BL 3 libcurl
|
||||
.TH CURLMOPT_PIPELINING_SITE_BL 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLMOPT_PIPELINING_SITE_BL \- pipelining host block list
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLMOPT_PUSHDATA.md
|
||||
.TH CURLMOPT_PUSHDATA 3 libcurl
|
||||
.TH CURLMOPT_PUSHDATA 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLMOPT_PUSHDATA \- pointer to pass to push callback
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLMOPT_PUSHFUNCTION.md
|
||||
.TH CURLMOPT_PUSHFUNCTION 3 libcurl
|
||||
.TH CURLMOPT_PUSHFUNCTION 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLMOPT_PUSHFUNCTION \- callback that approves or denies server pushes
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLMOPT_SOCKETDATA.md
|
||||
.TH CURLMOPT_SOCKETDATA 3 libcurl
|
||||
.TH CURLMOPT_SOCKETDATA 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLMOPT_SOCKETDATA \- custom pointer passed to the socket callback
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLMOPT_SOCKETFUNCTION.md
|
||||
.TH CURLMOPT_SOCKETFUNCTION 3 libcurl
|
||||
.TH CURLMOPT_SOCKETFUNCTION 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLMOPT_SOCKETFUNCTION \- callback informed about what to wait for
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLMOPT_TIMERDATA.md
|
||||
.TH CURLMOPT_TIMERDATA 3 libcurl
|
||||
.TH CURLMOPT_TIMERDATA 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLMOPT_TIMERDATA \- custom pointer to pass to timer callback
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLMOPT_TIMERFUNCTION.md
|
||||
.TH CURLMOPT_TIMERFUNCTION 3 libcurl
|
||||
.TH CURLMOPT_TIMERFUNCTION 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLMOPT_TIMERFUNCTION \- callback to receive timeout values
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLOPT_ABSTRACT_UNIX_SOCKET.md
|
||||
.TH CURLOPT_ABSTRACT_UNIX_SOCKET 3 libcurl
|
||||
.TH CURLOPT_ABSTRACT_UNIX_SOCKET 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLOPT_ABSTRACT_UNIX_SOCKET \- abstract Unix domain socket
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLOPT_ACCEPTTIMEOUT_MS.md
|
||||
.TH CURLOPT_ACCEPTTIMEOUT_MS 3 libcurl
|
||||
.TH CURLOPT_ACCEPTTIMEOUT_MS 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLOPT_ACCEPTTIMEOUT_MS \- timeout waiting for FTP server to connect back
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLOPT_ACCEPT_ENCODING.md
|
||||
.TH CURLOPT_ACCEPT_ENCODING 3 libcurl
|
||||
.TH CURLOPT_ACCEPT_ENCODING 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLOPT_ACCEPT_ENCODING \- automatic decompression of HTTP downloads
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLOPT_ADDRESS_SCOPE.md
|
||||
.TH CURLOPT_ADDRESS_SCOPE 3 libcurl
|
||||
.TH CURLOPT_ADDRESS_SCOPE 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLOPT_ADDRESS_SCOPE \- scope id for IPv6 addresses
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLOPT_ALTSVC.md
|
||||
.TH CURLOPT_ALTSVC 3 libcurl
|
||||
.TH CURLOPT_ALTSVC 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLOPT_ALTSVC \- alt\-svc cache filename
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLOPT_ALTSVC_CTRL.md
|
||||
.TH CURLOPT_ALTSVC_CTRL 3 libcurl
|
||||
.TH CURLOPT_ALTSVC_CTRL 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLOPT_ALTSVC_CTRL \- control alt\-svc behavior
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLOPT_APPEND.md
|
||||
.TH CURLOPT_APPEND 3 libcurl
|
||||
.TH CURLOPT_APPEND 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLOPT_APPEND \- append to the remote file
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLOPT_AUTOREFERER.md
|
||||
.TH CURLOPT_AUTOREFERER 3 libcurl
|
||||
.TH CURLOPT_AUTOREFERER 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLOPT_AUTOREFERER \- automatically update the referer header
|
||||
.SH SYNOPSIS
|
||||
|
@ -1,5 +1,5 @@
|
||||
.\" generated by cd2nroff 0.1 from CURLOPT_AWS_SIGV4.md
|
||||
.TH CURLOPT_AWS_SIGV4 3 libcurl
|
||||
.TH CURLOPT_AWS_SIGV4 3 "2024-06-01" libcurl
|
||||
.SH NAME
|
||||
CURLOPT_AWS_SIGV4 \- V4 signature
|
||||
.SH SYNOPSIS
|
||||
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user