mirror of
https://github.com/curl/curl.git
synced 2026-08-25 11:53:36 +03:00
spelling fixes
Detected using the `codespell` tool (version 1.13.0). Also secure and fix an URL.
This commit is contained in:
parent
71c39f2965
commit
4bd91bc474
22 changed files with 32 additions and 32 deletions
|
|
@ -904,7 +904,7 @@ static int send_doc(curl_socket_t sock, struct httprequest *req)
|
|||
char *cmd = NULL;
|
||||
size_t cmdsize = 0;
|
||||
FILE *dump;
|
||||
bool persistant = TRUE;
|
||||
bool persistent = TRUE;
|
||||
bool sendfailure = FALSE;
|
||||
size_t responsesize;
|
||||
int error = 0;
|
||||
|
|
@ -1046,7 +1046,7 @@ static int send_doc(curl_socket_t sock, struct httprequest *req)
|
|||
connection will be closed after the data has been sent to the requesting
|
||||
client... */
|
||||
if(strstr(buffer, "swsclose") || !count) {
|
||||
persistant = FALSE;
|
||||
persistent = FALSE;
|
||||
logmsg("connection close instruction \"swsclose\" found in response");
|
||||
}
|
||||
if(strstr(buffer, "swsbounce")) {
|
||||
|
|
@ -1176,7 +1176,7 @@ static int send_doc(curl_socket_t sock, struct httprequest *req)
|
|||
} while(ptr && *ptr);
|
||||
}
|
||||
free(cmd);
|
||||
req->open = persistant;
|
||||
req->open = persistent;
|
||||
|
||||
prevtestno = req->testno;
|
||||
prevpartno = req->partno;
|
||||
|
|
@ -1430,7 +1430,7 @@ int main(int argc, char *argv[])
|
|||
}
|
||||
|
||||
if(req.open)
|
||||
logmsg("=> persistant connection request ended, awaits new request");
|
||||
logmsg("=> persistent connection request ended, awaits new request");
|
||||
/* if we got a CONNECT, loop and get another request as well! */
|
||||
} while(req.open || (req.testno == DOCNUMBER_CONNECT));
|
||||
|
||||
|
|
|
|||
|
|
@ -1065,7 +1065,7 @@ static int send_doc(curl_socket_t sock, struct httprequest *req)
|
|||
char *cmd = NULL;
|
||||
size_t cmdsize = 0;
|
||||
FILE *dump;
|
||||
bool persistant = TRUE;
|
||||
bool persistent = TRUE;
|
||||
bool sendfailure = FALSE;
|
||||
size_t responsesize;
|
||||
int error = 0;
|
||||
|
|
@ -1196,7 +1196,7 @@ static int send_doc(curl_socket_t sock, struct httprequest *req)
|
|||
connection will be closed after the data has been sent to the requesting
|
||||
client... */
|
||||
if(strstr(buffer, "swsclose") || !count) {
|
||||
persistant = FALSE;
|
||||
persistent = FALSE;
|
||||
logmsg("connection close instruction \"swsclose\" found in response");
|
||||
}
|
||||
if(strstr(buffer, "swsbounce")) {
|
||||
|
|
@ -1313,7 +1313,7 @@ static int send_doc(curl_socket_t sock, struct httprequest *req)
|
|||
} while(ptr && *ptr);
|
||||
}
|
||||
free(cmd);
|
||||
req->open = use_gopher?FALSE:persistant;
|
||||
req->open = use_gopher?FALSE:persistent;
|
||||
|
||||
prevtestno = req->testno;
|
||||
prevpartno = req->partno;
|
||||
|
|
@ -1968,7 +1968,7 @@ static int service_connection(curl_socket_t msgsock, struct httprequest *req,
|
|||
/* if we got a CONNECT, loop and get another request as well! */
|
||||
|
||||
if(req->open) {
|
||||
logmsg("=> persistant connection request ended, awaits new request\n");
|
||||
logmsg("=> persistent connection request ended, awaits new request\n");
|
||||
return 1;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue