mirror of
https://github.com/curl/curl.git
synced 2026-07-31 14:58:02 +03:00
and later -> or higher
This commit is contained in:
parent
de6ab39f5d
commit
97e75f98b7
7 changed files with 9 additions and 9 deletions
|
|
@ -2388,7 +2388,7 @@ static CURLcode http_req_set_TE(struct Curl_easy *data,
|
|||
if(req_clen < 0) {
|
||||
/* indeterminate request content length */
|
||||
if(httpversion > 10) {
|
||||
/* On HTTP/1.1, enable chunked, on HTTP/2 and later we do not
|
||||
/* On HTTP/1.1, enable chunked, on HTTP/2 or higher we do not
|
||||
* need it */
|
||||
data->req.upload_chunky = (httpversion < 20);
|
||||
}
|
||||
|
|
|
|||
|
|
@ -157,8 +157,8 @@ static void my_md5_final(unsigned char *digest, void *ctx)
|
|||
#include <CommonCrypto/CommonDigest.h>
|
||||
|
||||
/* For Apple operating systems: CommonCrypto has the functions we need.
|
||||
These functions are available on Tiger and later, as well as iOS 2.0
|
||||
and later. If you are building for an older cat, well, sorry.
|
||||
These functions are available on 10.4 (Tiger) or higher, as well as
|
||||
iOS 2.0 or higher. If you are building for an older cat, well, sorry.
|
||||
|
||||
Declaring the functions as static like this seems to be a bit more
|
||||
reliable than defining COMMON_DIGEST_FOR_OPENSSL on older cats. */
|
||||
|
|
|
|||
|
|
@ -131,7 +131,7 @@ static char *vms_getenv(const char *envvar)
|
|||
/* may do a malloc(2048) for each call to getenv(), so you will need */
|
||||
/* to add a free(vms_path) */
|
||||
/* Do not do a free() for DEC C RTL builds, which should be used for */
|
||||
/* VMS 5.5-2 and later, even if using GCC */
|
||||
/* VMS 5.5-2 or higher, even if using GCC */
|
||||
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue