parent
bfe54b0e88
commit
1087937992
2
docs/FAQ
2
docs/FAQ
@ -407,7 +407,7 @@ FAQ
|
|||||||
The reason why static libraries is much harder to deal with is that for them
|
The reason why static libraries is much harder to deal with is that for them
|
||||||
we do not get any help but the script itself must know or check what more
|
we do not get any help but the script itself must know or check what more
|
||||||
libraries that are needed (with shared libraries, that dependency "chain" is
|
libraries that are needed (with shared libraries, that dependency "chain" is
|
||||||
handled automatically). This is a error-prone process and one that also
|
handled automatically). This is an error-prone process and one that also
|
||||||
tends to vary over time depending on the release versions of the involved
|
tends to vary over time depending on the release versions of the involved
|
||||||
components and may also differ between operating systems.
|
components and may also differ between operating systems.
|
||||||
|
|
||||||
|
|||||||
@ -94,7 +94,7 @@ int main(void)
|
|||||||
if(curl_easy_setopt(curl, CURLOPT_SSLENGINE_DEFAULT, 1L) != CURLE_OK) {
|
if(curl_easy_setopt(curl, CURLOPT_SSLENGINE_DEFAULT, 1L) != CURLE_OK) {
|
||||||
/* set the crypto engine as default */
|
/* set the crypto engine as default */
|
||||||
/* only needed for the first time you load
|
/* only needed for the first time you load
|
||||||
a engine in a curl object... */
|
an engine in a curl object... */
|
||||||
fprintf(stderr, "cannot set crypto engine as default\n");
|
fprintf(stderr, "cannot set crypto engine as default\n");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|||||||
@ -590,7 +590,7 @@ CURLcode Curl_conn_ev_data_idle(struct Curl_easy *data)
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Notify connection filters that the transfer represented by `data`
|
* Notify connection filters that the transfer represented by `data`
|
||||||
* is donw with sending data (e.g. has uploaded everything).
|
* is done with sending data (e.g. has uploaded everything).
|
||||||
*/
|
*/
|
||||||
void Curl_conn_ev_data_done_send(struct Curl_easy *data)
|
void Curl_conn_ev_data_done_send(struct Curl_easy *data)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -451,7 +451,7 @@ CURLcode Curl_conn_ev_data_idle(struct Curl_easy *data);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Notify connection filters that the transfer represented by `data`
|
* Notify connection filters that the transfer represented by `data`
|
||||||
* is donw with sending data (e.g. has uploaded everything).
|
* is done with sending data (e.g. has uploaded everything).
|
||||||
*/
|
*/
|
||||||
void Curl_conn_ev_data_done_send(struct Curl_easy *data);
|
void Curl_conn_ev_data_done_send(struct Curl_easy *data);
|
||||||
|
|
||||||
|
|||||||
@ -1352,7 +1352,7 @@ static CURLMcode multi_wait(struct Curl_multi *multi,
|
|||||||
/* 'nfds' is a 32 bit value and 'struct pollfd' is typically 8 bytes
|
/* 'nfds' is a 32 bit value and 'struct pollfd' is typically 8 bytes
|
||||||
big, so at 2^29 sockets this value might wrap. When a process gets
|
big, so at 2^29 sockets this value might wrap. When a process gets
|
||||||
the capability to actually handle over 500 million sockets this
|
the capability to actually handle over 500 million sockets this
|
||||||
calculation needs a integer overflow check. */
|
calculation needs an integer overflow check. */
|
||||||
ufds = malloc(nfds * sizeof(struct pollfd));
|
ufds = malloc(nfds * sizeof(struct pollfd));
|
||||||
if(!ufds)
|
if(!ufds)
|
||||||
return CURLM_OUT_OF_MEMORY;
|
return CURLM_OUT_OF_MEMORY;
|
||||||
|
|||||||
@ -805,7 +805,7 @@ static CURLcode rtsp_rtp_write_resp(struct Curl_easy *data,
|
|||||||
DEBUGF(infof(data, "rtsp_rtp_write_resp(len=%zu, in_header=%d, eos=%d)",
|
DEBUGF(infof(data, "rtsp_rtp_write_resp(len=%zu, in_header=%d, eos=%d)",
|
||||||
blen, rtspc->in_header, is_eos));
|
blen, rtspc->in_header, is_eos));
|
||||||
|
|
||||||
/* If header parsing is not onging, extract RTP messages */
|
/* If header parsing is not ongoing, extract RTP messages */
|
||||||
if(!rtspc->in_header) {
|
if(!rtspc->in_header) {
|
||||||
result = rtsp_filter_rtp(data, buf, blen, &consumed);
|
result = rtsp_filter_rtp(data, buf, blen, &consumed);
|
||||||
if(result)
|
if(result)
|
||||||
|
|||||||
@ -2154,7 +2154,7 @@ CURLcode Curl_ossl_verifyhost(struct Curl_easy *data, struct connectdata *conn,
|
|||||||
#endif
|
#endif
|
||||||
CURLcode result = CURLE_OK;
|
CURLcode result = CURLE_OK;
|
||||||
bool dNSName = FALSE; /* if a dNSName field exists in the cert */
|
bool dNSName = FALSE; /* if a dNSName field exists in the cert */
|
||||||
bool iPAddress = FALSE; /* if a iPAddress field exists in the cert */
|
bool iPAddress = FALSE; /* if an iPAddress field exists in the cert */
|
||||||
size_t hostlen;
|
size_t hostlen;
|
||||||
|
|
||||||
(void)conn;
|
(void)conn;
|
||||||
|
|||||||
@ -102,7 +102,7 @@ $ define/job decc$system_include prj_root:[.include.curl],-
|
|||||||
gnv$zlib_include:,-
|
gnv$zlib_include:,-
|
||||||
sys$sysroot:[kerberos.include]
|
sys$sysroot:[kerberos.include]
|
||||||
$!
|
$!
|
||||||
$! Set up a include list for the compiler to find all the header files
|
$! Set up an include list for the compiler to find all the header files
|
||||||
$! that they need.
|
$! that they need.
|
||||||
$!
|
$!
|
||||||
$ define/job decc$user_include src_root:[.include.curl]
|
$ define/job decc$user_include src_root:[.include.curl]
|
||||||
|
|||||||
@ -923,7 +923,7 @@ sub scanfile {
|
|||||||
checkwarn("COPYRIGHT", 1, 0, $file, "", "Missing copyright statement", 1);
|
checkwarn("COPYRIGHT", 1, 0, $file, "", "Missing copyright statement", 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
# COPYRIGHTYEAR is a extended warning so we must first see if it has been
|
# COPYRIGHTYEAR is an extended warning so we must first see if it has been
|
||||||
# enabled in .checksrc
|
# enabled in .checksrc
|
||||||
if(defined($warnings{"COPYRIGHTYEAR"})) {
|
if(defined($warnings{"COPYRIGHTYEAR"})) {
|
||||||
# The check for updated copyrightyear is overly complicated in order to
|
# The check for updated copyrightyear is overly complicated in order to
|
||||||
|
|||||||
@ -36,7 +36,7 @@ Depending on your setup, some test cases may be skipped and appear as `s` in the
|
|||||||
You will need:
|
You will need:
|
||||||
|
|
||||||
1. a recent Python, the `cryptography` module and, of course, `pytest`
|
1. a recent Python, the `cryptography` module and, of course, `pytest`
|
||||||
2. a apache httpd development version. On Debian/Ubuntu, the package `apache2-dev` has this.
|
2. an apache httpd development version. On Debian/Ubuntu, the package `apache2-dev` has this.
|
||||||
3. a local `curl` project build
|
3. a local `curl` project build
|
||||||
3. optionally, a `nghttpx` with HTTP/3 enabled or h3 test cases will be skipped.
|
3. optionally, a `nghttpx` with HTTP/3 enabled or h3 test cases will be skipped.
|
||||||
|
|
||||||
|
|||||||
@ -278,7 +278,7 @@ int test(char *URL)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* fetch a another one and save cookies */
|
/* fetch another one and save cookies */
|
||||||
printf("*** run %d\n", i);
|
printf("*** run %d\n", i);
|
||||||
curl = curl_easy_init();
|
curl = curl_easy_init();
|
||||||
if(!curl) {
|
if(!curl) {
|
||||||
|
|||||||
@ -197,7 +197,7 @@ int test(char *URL)
|
|||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
/* fetch a another one */
|
/* fetch another one */
|
||||||
printf("*** run %d\n", i);
|
printf("*** run %d\n", i);
|
||||||
curl = curl_easy_init();
|
curl = curl_easy_init();
|
||||||
if(!curl) {
|
if(!curl) {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user