-
Notifications
You must be signed in to change notification settings - Fork 146
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added proxy support #9
base: master
Are you sure you want to change the base?
Conversation
183f852
to
879309e
Compare
TODO: Add a better way to input a proxy password, as passing it though an argument means any user can read it with |
537c3c3
to
b058e85
Compare
@@ -1,4 +1,4 @@ | |||
bin_PROGRAMS = btfs | |||
btfs_SOURCES = btfs.cc btfs.h | |||
btfs_CPPFLAGS = -Wall $(FUSE_CFLAGS) $(LIBTORRENT_CFLAGS) $(LIBCURL_CFLAGS) | |||
btfs_CPPFLAGS = -Wall -std=c++11 $(FUSE_CFLAGS) $(LIBTORRENT_CFLAGS) $(LIBCURL_CFLAGS) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not sure about the c++11 thing. Might break support for older distros.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'm using it for static map initialization. If the older distros are important, I'm pretty sure I can do that differently.
Also enabled C++11 for static map initialization
Why not get it from environment variables HTTP_PROXY and HTTPS_PROXY ? |
@hazcod not a bad idea, but it would require parsing them for libtorrent. |
RIP? |
While I have been able to determine that traffic is going over the proxy, I haven't been able to test if any packets are leaking. If someone could figure out how to test for that it would be great.