mirror of
https://github.com/curl/curl.git
synced 2026-08-24 13:03:35 +03:00
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:
parent
848c104639
commit
c294f9cb56
23 changed files with 43 additions and 47 deletions
|
|
@ -109,7 +109,7 @@ static void http_exp100_send_anyway(struct Curl_easy *data);
|
|||
* HTTP handler interface.
|
||||
*/
|
||||
const struct Curl_handler Curl_handler_http = {
|
||||
"HTTP", /* scheme */
|
||||
"http", /* scheme */
|
||||
Curl_http_setup_conn, /* setup_connection */
|
||||
Curl_http, /* do_it */
|
||||
Curl_http_done, /* done */
|
||||
|
|
@ -138,7 +138,7 @@ const struct Curl_handler Curl_handler_http = {
|
|||
* HTTPS handler interface.
|
||||
*/
|
||||
const struct Curl_handler Curl_handler_https = {
|
||||
"HTTPS", /* scheme */
|
||||
"https", /* scheme */
|
||||
Curl_http_setup_conn, /* setup_connection */
|
||||
Curl_http, /* do_it */
|
||||
Curl_http_done, /* done */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue