smartnode/telebot

Native libcurl socks5 proxe support

Closed this issue · 2 comments

It would be great to include into telebot native libCURL function to support SOCKS proxy.

This patch makes native libcurl support for telebot.
Added new function telebot_use_proxy(telebot_handler_t handle, char *addr) where possible to specify proxy like as socks5://some_addr:port, http://some_addr:port, https://some_addr:port and other types...

telebot_curl_proxy_support.zip

The patch has been applied
bb2056d