Reputation: 11894
I want to implement proxy support (SOCKS5 and HTTP CONNECT method) in my application. There are two parts that needs to be implemented:
Is there library for the #2 part?
Upvotes: 3
Views: 2235
Reputation: 7287
Now there is proxysocket (https://github.com/brechtsanders/proxysocket/) to do exactly that. Supports SOCKS4, SOCKS5 and HTTP CONNECT. The result is a normal connected socket so you don't have to rewrite the rest of your application.
Upvotes: 1
Reputation: 338
libcurl can receive webpage via proxy. You can send raw http header to it, and let it talk to the proxy
Upvotes: 0
Reputation:
You might be able to hack libmicrohttpd into doing what you want without too much effort, at least as far as the user end. I'm not aware of anything that does what you want straight out of the box.
Upvotes: 2