mirror of
https://github.com/xorgy/mediafire-fuse
synced 2026-01-13 13:14:29 -08:00
add some stub for mitm testing
This commit is contained in:
@@ -72,6 +72,7 @@ static void http_curl_reset(mfhttp * conn)
|
|||||||
curl_easy_setopt(conn->curl_handle, CURLOPT_ERRORBUFFER, conn->error_buf);
|
curl_easy_setopt(conn->curl_handle, CURLOPT_ERRORBUFFER, conn->error_buf);
|
||||||
curl_easy_setopt(conn->curl_handle, CURLOPT_PROXY, getenv("http_proxy"));
|
curl_easy_setopt(conn->curl_handle, CURLOPT_PROXY, getenv("http_proxy"));
|
||||||
curl_easy_setopt(conn->curl_handle, CURLOPT_VERBOSE, 0L);
|
curl_easy_setopt(conn->curl_handle, CURLOPT_VERBOSE, 0L);
|
||||||
|
//curl_easy_setopt(conn->curl_handle, CURLOPT_SSL_VERIFYPEER, 0L);
|
||||||
}
|
}
|
||||||
|
|
||||||
mfhttp *http_create(void)
|
mfhttp *http_create(void)
|
||||||
|
|||||||
Reference in New Issue
Block a user