lib: make protocol handlers store scheme name lowercase

- saves a lowercase operation when the "[scheme]_proxy" name is
  generated
- appears less "shouting"
- update test 970, 972, 1438 and 1536

Closes #13553
This commit is contained in:
Daniel Stenberg 2024-05-07 16:55:23 +02:00
parent 848c104639
commit c294f9cb56
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
23 changed files with 43 additions and 47 deletions

View file

@ -117,7 +117,7 @@ static Curl_recv oldap_recv;
*/
const struct Curl_handler Curl_handler_ldap = {
"LDAP", /* scheme */
"ldap", /* scheme */
oldap_setup_connection, /* setup_connection */
oldap_do, /* do_it */
oldap_done, /* done */
@ -146,7 +146,7 @@ const struct Curl_handler Curl_handler_ldap = {
*/
const struct Curl_handler Curl_handler_ldaps = {
"LDAPS", /* scheme */
"ldaps", /* scheme */
oldap_setup_connection, /* setup_connection */
oldap_do, /* do_it */
oldap_done, /* done */