mirror of
https://github.com/curl/curl.git
synced 2026-08-25 10:53:37 +03:00
parent
0768604196
commit
8e85764b7b
26 changed files with 175 additions and 351 deletions
13
lib/socks.c
13
lib/socks.c
|
|
@ -1238,19 +1238,6 @@ struct Curl_cftype Curl_cft_socks_proxy = {
|
|||
Curl_cf_def_query,
|
||||
};
|
||||
|
||||
CURLcode Curl_conn_socks_proxy_add(struct Curl_easy *data,
|
||||
struct connectdata *conn,
|
||||
int sockindex)
|
||||
{
|
||||
struct Curl_cfilter *cf;
|
||||
CURLcode result;
|
||||
|
||||
result = Curl_cf_create(&cf, &Curl_cft_socks_proxy, NULL);
|
||||
if(!result)
|
||||
Curl_conn_cf_add(data, conn, sockindex, cf);
|
||||
return result;
|
||||
}
|
||||
|
||||
CURLcode Curl_cf_socks_proxy_insert_after(struct Curl_cfilter *cf_at,
|
||||
struct Curl_easy *data)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue