mirror of
https://github.com/curl/curl.git
synced 2024-11-21 01:16:58 +08:00
connect: reduce number of transportation providers
Use only the ones necessary - the ones that are built-in. Saves a few bytes in the resulting code. Closes #12438
This commit is contained in:
parent
56791f3e23
commit
0eda1f6c9f
@ -1129,8 +1129,12 @@ struct transport_provider transport_providers[] = {
|
||||
#ifdef ENABLE_QUIC
|
||||
{ TRNSPRT_QUIC, Curl_cf_quic_create },
|
||||
#endif
|
||||
#ifndef CURL_DISABLE_TFTP
|
||||
{ TRNSPRT_UDP, Curl_cf_udp_create },
|
||||
#endif
|
||||
#ifdef USE_UNIX_SOCKETS
|
||||
{ TRNSPRT_UNIX, Curl_cf_unix_create },
|
||||
#endif
|
||||
};
|
||||
|
||||
static cf_ip_connect_create *get_cf_create(int transport)
|
||||
|
Loading…
Reference in New Issue
Block a user