mirror of
https://github.com/curl/curl.git
synced 2026-08-26 17:53:33 +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
|
|
@ -259,7 +259,7 @@ static CURLcode smb_parse_url_path(struct Curl_easy *data,
|
|||
* SMB handler interface
|
||||
*/
|
||||
const struct Curl_handler Curl_handler_smb = {
|
||||
"SMB", /* scheme */
|
||||
"smb", /* scheme */
|
||||
smb_setup_connection, /* setup_connection */
|
||||
smb_do, /* do_it */
|
||||
ZERO_NULL, /* done */
|
||||
|
|
@ -287,7 +287,7 @@ const struct Curl_handler Curl_handler_smb = {
|
|||
* SMBS handler interface
|
||||
*/
|
||||
const struct Curl_handler Curl_handler_smbs = {
|
||||
"SMBS", /* scheme */
|
||||
"smbs", /* scheme */
|
||||
smb_setup_connection, /* setup_connection */
|
||||
smb_do, /* do_it */
|
||||
ZERO_NULL, /* done */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue