lib/protocol_ftp.c: remove HTTP proxy stuff (was commented out)
closes
Forget about FTP over HTTP, this is just too obscure to even test
@@ -36,7 +36,6 @@ static gftp_textcomboedt_data gftp_proxy_type[] = {
{N_("AUTHENTICATE"), "USER %hu@%hh\nPASS %hp\nSITE AUTHENTICATE %pu\nSITE RESPONSE %pp\n", 0},
{N_("user@host port"), "USER %hu@%hh %ho\nPASS %hp\n", 0},
{N_("user@host NOAUTH"), "USER %hu@%hh\nPASS %hp\n", 0},
- ///{N_("HTTP Proxy"), "http", 0},
{N_("Custom"), "", GFTP_TEXTCOMBOEDT_EDITABLE},
{NULL, NULL, 0}
};
@@ -1757,17 +1756,6 @@ static int ftp_site (gftp_request * request, int specify_site, const char *comma
static int ftp_set_config_options (gftp_request * request)
{
DEBUG_PRINT_FUNC
- char *proxy_config;
- ///int ret;
-
- gftp_lookup_request_option (request, "proxy_config", &proxy_config);
-
- if (strcmp (proxy_config, "http") == 0)
- {
- ///if ((ret = gftp_protocols[GFTP_PROTOCOL_HTTP].init (request)) < 0)
- /// return (ret);
- gftp_set_request_option (request, "proxy_config", "ftp");
- }
return (0);
}
