parent
298c1dfc7b
commit
9dbce9b3d0
@ -30,7 +30,7 @@ CURLOPT_PORT \- remote port number to connect to
|
|||||||
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PORT, long number);
|
CURLcode curl_easy_setopt(CURL *handle, CURLOPT_PORT, long number);
|
||||||
.fi
|
.fi
|
||||||
.SH DESCRIPTION
|
.SH DESCRIPTION
|
||||||
We discourage using this option since it's scope is not obvious and hard to
|
We discourage using this option since its scope is not obvious and hard to
|
||||||
predict. Set the preferred port number in the URL instead.
|
predict. Set the preferred port number in the URL instead.
|
||||||
|
|
||||||
This option sets \fInumber\fP to be the remote port number to connect to,
|
This option sets \fInumber\fP to be the remote port number to connect to,
|
||||||
|
|||||||
@ -50,9 +50,9 @@ enum.
|
|||||||
The callback MUST return one of the following return codes to tell libcurl how
|
The callback MUST return one of the following return codes to tell libcurl how
|
||||||
to act:
|
to act:
|
||||||
.IP CURLKHMATCH_OK
|
.IP CURLKHMATCH_OK
|
||||||
The hostkey is accepted, the connexion should continue.
|
The hostkey is accepted, the connection should continue.
|
||||||
.IP CURLKHMATCH_MISMATCH
|
.IP CURLKHMATCH_MISMATCH
|
||||||
the hostkey is rejected, the connexion is canceled.
|
the hostkey is rejected, the connection is canceled.
|
||||||
.SH DEFAULT
|
.SH DEFAULT
|
||||||
NULL
|
NULL
|
||||||
.SH PROTOCOLS
|
.SH PROTOCOLS
|
||||||
|
|||||||
@ -186,7 +186,7 @@ static CURLcode altsvc_add(struct altsvcinfo *asi, char *line)
|
|||||||
* Load alt-svc entries from the given file. The text based line-oriented file
|
* Load alt-svc entries from the given file. The text based line-oriented file
|
||||||
* format is documented here: https://curl.se/docs/alt-svc.html
|
* format is documented here: https://curl.se/docs/alt-svc.html
|
||||||
*
|
*
|
||||||
* This function only returns error on major problems that prevents alt-svc
|
* This function only returns error on major problems that prevent alt-svc
|
||||||
* handling to work completely. It will ignore individual syntactical errors
|
* handling to work completely. It will ignore individual syntactical errors
|
||||||
* etc.
|
* etc.
|
||||||
*/
|
*/
|
||||||
|
|||||||
@ -1570,7 +1570,7 @@ CURLcode Curl_follow(struct Curl_easy *data,
|
|||||||
data->state.referer_alloc = FALSE;
|
data->state.referer_alloc = FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Make a copy of the URL without crenditals and fragment */
|
/* Make a copy of the URL without credentials and fragment */
|
||||||
u = curl_url();
|
u = curl_url();
|
||||||
if(!u)
|
if(!u)
|
||||||
return CURLE_OUT_OF_MEMORY;
|
return CURLE_OUT_OF_MEMORY;
|
||||||
|
|||||||
@ -53,7 +53,7 @@ X-Control: swsclose
|
|||||||
http
|
http
|
||||||
</server>
|
</server>
|
||||||
<name>
|
<name>
|
||||||
Chunked transfer encoding - Multple valid chunks with binary zeros.
|
Chunked transfer encoding - Multiple valid chunks with binary zeros.
|
||||||
</name>
|
</name>
|
||||||
<features>
|
<features>
|
||||||
proxy
|
proxy
|
||||||
|
|||||||
@ -879,7 +879,7 @@ static int get_request(curl_socket_t sock, struct httprequest *req)
|
|||||||
else {
|
else {
|
||||||
if(req->skip)
|
if(req->skip)
|
||||||
/* we are instructed to not read the entire thing, so we make sure to
|
/* we are instructed to not read the entire thing, so we make sure to
|
||||||
only read what we're supposed to and NOT read the enire thing the
|
only read what we're supposed to and NOT read the entire thing the
|
||||||
client wants to send! */
|
client wants to send! */
|
||||||
got = sread(sock, reqbuf + req->offset, req->cl);
|
got = sread(sock, reqbuf + req->offset, req->cl);
|
||||||
else
|
else
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user