mirror of
https://github.com/curl/curl.git
synced 2026-08-06 17:26:15 +03:00
parent
2e0fa50fc1
commit
3b6d18bbf6
23 changed files with 29 additions and 29 deletions
|
|
@ -1023,7 +1023,7 @@ static CURLcode inspect_response(struct Curl_cfilter *cf,
|
|||
if(result)
|
||||
return result;
|
||||
if(data->req.newurl) {
|
||||
/* Inidicator that we should try again */
|
||||
/* Indicator that we should try again */
|
||||
Curl_safefree(data->req.newurl);
|
||||
h2_tunnel_go_state(cf, ts, H2_TUNNEL_INIT, data);
|
||||
return CURLE_OK;
|
||||
|
|
|
|||
|
|
@ -789,7 +789,7 @@ static CURLcode setname(curl_mimepart *part, const char *name, size_t len)
|
|||
return res;
|
||||
}
|
||||
|
||||
/* wrap call to fseeko so it matches the calling convetion of callback */
|
||||
/* wrap call to fseeko so it matches the calling convention of callback */
|
||||
static int fseeko_wrapper(void *stream, curl_off_t offset, int whence)
|
||||
{
|
||||
#if defined(HAVE_FSEEKO)
|
||||
|
|
|
|||
|
|
@ -3480,7 +3480,7 @@ CURLcode ftp_sendquote(struct Curl_easy *data,
|
|||
/* if a command starts with an asterisk, which a legal FTP command never
|
||||
can, the command will be allowed to fail without it causing any
|
||||
aborts or cancels etc. It will cause libcurl to act as if the command
|
||||
is successful, whatever the server reponds. */
|
||||
is successful, whatever the server responds. */
|
||||
|
||||
if(cmd[0] == '*') {
|
||||
cmd++;
|
||||
|
|
|
|||
|
|
@ -379,7 +379,7 @@ size_t Curl_ftp_parselist(char *buffer, size_t size, size_t nmemb,
|
|||
/* scenario:
|
||||
* 1. call => OK..
|
||||
* 2. call => OUT_OF_MEMORY (or other error)
|
||||
* 3. (last) call => is skipped RIGHT HERE and the error is hadled later
|
||||
* 3. (last) call => is skipped RIGHT HERE and the error is handled later
|
||||
* in wc_statemach()
|
||||
*/
|
||||
goto fail;
|
||||
|
|
|
|||
|
|
@ -30,7 +30,7 @@
|
|||
|
||||
/**
|
||||
* Type of data that is being written to the client (application)
|
||||
* - data written can be eiter BODY or META data
|
||||
* - data written can be either BODY or META data
|
||||
* - META data is either INFO or HEADER
|
||||
* - INFO is meta information, e.g. not BODY, that cannot be interpreted
|
||||
* as headers of a response. Example FTP/IMAP pingpong answers.
|
||||
|
|
|
|||
|
|
@ -1262,7 +1262,7 @@ struct tempbuf {
|
|||
struct dynbuf b;
|
||||
int type; /* type of the 'tempwrite' buffer as a bitmask that is used with
|
||||
Curl_client_write() */
|
||||
BIT(paused_body); /* if PAUSE happend before/during BODY write */
|
||||
BIT(paused_body); /* if PAUSE happened before/during BODY write */
|
||||
};
|
||||
|
||||
/* Timers */
|
||||
|
|
|
|||
|
|
@ -2660,7 +2660,7 @@ static void sftp_quote(struct Curl_easy *data)
|
|||
/* if a command starts with an asterisk, which a legal SFTP command never
|
||||
can, the command will be allowed to fail without it causing any
|
||||
aborts or cancels etc. It will cause libcurl to act as if the command
|
||||
is successful, whatever the server reponds. */
|
||||
is successful, whatever the server responds. */
|
||||
|
||||
if(cmd[0] == '*') {
|
||||
cmd++;
|
||||
|
|
@ -2834,7 +2834,7 @@ static void sftp_quote_stat(struct Curl_easy *data)
|
|||
/* if a command starts with an asterisk, which a legal SFTP command never
|
||||
can, the command will be allowed to fail without it causing any
|
||||
aborts or cancels etc. It will cause libcurl to act as if the command
|
||||
is successful, whatever the server reponds. */
|
||||
is successful, whatever the server responds. */
|
||||
|
||||
if(cmd[0] == '*') {
|
||||
cmd++;
|
||||
|
|
|
|||
|
|
@ -1503,7 +1503,7 @@ static CURLcode ssh_statemach_act(struct Curl_easy *data, bool *block)
|
|||
/* if a command starts with an asterisk, which a legal SFTP command never
|
||||
can, the command will be allowed to fail without it causing any
|
||||
aborts or cancels etc. It will cause libcurl to act as if the command
|
||||
is successful, whatever the server reponds. */
|
||||
is successful, whatever the server responds. */
|
||||
|
||||
if(cmd[0] == '*') {
|
||||
cmd++;
|
||||
|
|
@ -1699,7 +1699,7 @@ static CURLcode ssh_statemach_act(struct Curl_easy *data, bool *block)
|
|||
/* if a command starts with an asterisk, which a legal SFTP command never
|
||||
can, the command will be allowed to fail without it causing any
|
||||
aborts or cancels etc. It will cause libcurl to act as if the command
|
||||
is successful, whatever the server reponds. */
|
||||
is successful, whatever the server responds. */
|
||||
|
||||
if(cmd[0] == '*') {
|
||||
cmd++;
|
||||
|
|
|
|||
|
|
@ -728,7 +728,7 @@ schannel_acquire_credential_handle(struct Curl_cfilter *cf,
|
|||
}
|
||||
#endif
|
||||
|
||||
/* allocate memory for the re-usable credential handle */
|
||||
/* allocate memory for the reusable credential handle */
|
||||
backend->cred = (struct Curl_schannel_cred *)
|
||||
calloc(1, sizeof(struct Curl_schannel_cred));
|
||||
if(!backend->cred) {
|
||||
|
|
@ -1128,7 +1128,7 @@ schannel_connect_step1(struct Curl_cfilter *cf, struct Curl_easy *data)
|
|||
|
||||
backend->cred = NULL;
|
||||
|
||||
/* check for an existing re-usable credential handle */
|
||||
/* check for an existing reusable credential handle */
|
||||
if(ssl_config->primary.sessionid) {
|
||||
Curl_ssl_sessionid_lock(data);
|
||||
if(!Curl_ssl_getsessionid(cf, data, (void **)&old_cred, NULL)) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue