mirror of
https://github.com/curl/curl.git
synced 2026-08-12 10:30:52 +03:00
misc: fix typos
Bug: https://curl.se/mail/lib-2021-01/0063.html Closes #6434
This commit is contained in:
parent
06f1db57ca
commit
4f61fd87b2
7 changed files with 12 additions and 10 deletions
|
|
@ -1258,7 +1258,9 @@ CURLcode Curl_buffer_send(struct dynbuf *in,
|
|||
}
|
||||
else {
|
||||
#ifdef CURLDEBUG
|
||||
/* Allow debug builds override this logic to force short initial sends */
|
||||
/* Allow debug builds to override this logic to force short initial
|
||||
sends
|
||||
*/
|
||||
char *p = getenv("CURL_SMALLREQSEND");
|
||||
if(p) {
|
||||
size_t altsize = (size_t)strtoul(p, NULL, 10);
|
||||
|
|
@ -2914,7 +2916,7 @@ CURLcode Curl_http(struct connectdata *conn, bool *done)
|
|||
const char *p_accept; /* Accept: string */
|
||||
|
||||
/* Always consider the DO phase done after this function call, even if there
|
||||
may be parts of the request that is not yet sent, since we can deal with
|
||||
may be parts of the request that are not yet sent, since we can deal with
|
||||
the rest of the request in the PERFORM phase. */
|
||||
*done = TRUE;
|
||||
|
||||
|
|
@ -3019,7 +3021,7 @@ CURLcode Curl_http(struct connectdata *conn, bool *done)
|
|||
/* When we are to insert a TE: header in the request, we must also insert
|
||||
TE in a Connection: header, so we need to merge the custom provided
|
||||
Connection: header and prevent the original to get sent. Note that if
|
||||
the user has inserted his/hers own TE: header we don't do this magic
|
||||
the user has inserted his/her own TE: header we don't do this magic
|
||||
but then assume that the user will handle it all! */
|
||||
char *cptr = Curl_checkheaders(conn, "Connection");
|
||||
#define TE_HEADER "TE: gzip\r\n"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue