mirror of
https://github.com/curl/curl.git
synced 2024-12-09 06:30:06 +08:00
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);
|
||||
.fi
|
||||
.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.
|
||||
|
||||
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
|
||||
to act:
|
||||
.IP CURLKHMATCH_OK
|
||||
The hostkey is accepted, the connexion should continue.
|
||||
The hostkey is accepted, the connection should continue.
|
||||
.IP CURLKHMATCH_MISMATCH
|
||||
the hostkey is rejected, the connexion is canceled.
|
||||
the hostkey is rejected, the connection is canceled.
|
||||
.SH DEFAULT
|
||||
NULL
|
||||
.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
|
||||
* 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
|
||||
* etc.
|
||||
*/
|
||||
|
@ -1570,7 +1570,7 @@ CURLcode Curl_follow(struct Curl_easy *data,
|
||||
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();
|
||||
if(!u)
|
||||
return CURLE_OUT_OF_MEMORY;
|
||||
|
@ -53,7 +53,7 @@ X-Control: swsclose
|
||||
http
|
||||
</server>
|
||||
<name>
|
||||
Chunked transfer encoding - Multple valid chunks with binary zeros.
|
||||
Chunked transfer encoding - Multiple valid chunks with binary zeros.
|
||||
</name>
|
||||
<features>
|
||||
proxy
|
||||
|
@ -879,7 +879,7 @@ static int get_request(curl_socket_t sock, struct httprequest *req)
|
||||
else {
|
||||
if(req->skip)
|
||||
/* 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! */
|
||||
got = sread(sock, reqbuf + req->offset, req->cl);
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user