diff options
author | Barry Pollard <barry_pollard@hotmail.com> | 2019-09-22 21:17:12 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2019-09-23 22:33:31 +0200 |
commit | 0023fce38d3bd6ee0e9b6ff8708fee1195057846 (patch) | |
tree | 32947dcf8bf1767126f2dfbfffeb150752a1450b /lib/strcase.h | |
parent | 527461285f54bca59356e2c550d55ed9606e96d1 (diff) | |
download | curl-0023fce38d3bd6ee0e9b6ff8708fee1195057846.tar.gz |
http: lowercase headernames for HTTP/2 and HTTP/3
Closes #4401
Fixes #4400
Diffstat (limited to 'lib/strcase.h')
-rw-r--r-- | lib/strcase.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/strcase.h b/lib/strcase.h index 6fee3840e..2f07a74c9 100644 --- a/lib/strcase.h +++ b/lib/strcase.h @@ -40,11 +40,13 @@ int Curl_safe_strcasecompare(const char *first, const char *second); int Curl_strncasecompare(const char *first, const char *second, size_t max); char Curl_raw_toupper(char in); +char Curl_raw_tolower(char in); /* checkprefix() is a shorter version of the above, used when the first argument is zero-byte terminated */ #define checkprefix(a,b) curl_strnequal(a,b,strlen(a)) void Curl_strntoupper(char *dest, const char *src, size_t n); +void Curl_strntolower(char *dest, const char *src, size_t n); #endif /* HEADER_CURL_STRCASE_H */ |