Azure / azure-storage-cpplite

Lite version of C++ Client Library for Microsoft Azure Storage
MIT License
25 stars 43 forks source link

Add support for connecting via https proxy #71

Open neilkenny opened 4 years ago

neilkenny commented 4 years ago

azure-storage-cpplite currently does not support connecting to a proxy via https (see this issue for more details)

This would be a useful feature to add

Jinming-Hu commented 4 years ago

Hi @neilkenny , we added proxy support in latest 0.3.0 release, I believe it supports both HTTP and HTTPS proxy.

The limitation is, if you're using a self-signed certificate for HTTPS proxy server, it still won't work. Because the options CURLOPT_PROXY_SSL_VERIFYPEER and CURLOPT_PROXY_SSL_VERIFYHOST, which are used to allow insecure proxy ssl connections, are not available until libcurl 7.52, which is a relatively new version. You can reply in this issue if you do have needs for insecure proxy connections, so that we can discuss and find a solution for it.

AmyLee91 commented 2 years ago

Hi @Jinming-Hu

As you mentioned in this place in the cpplite: https://github.com/Azure/azure-storage-cpp/issues/330#issuecomment-593296246

cpplite has supported http proxy, But I found it not support username/passwork.

Could you support ‘CURLOPT_PROXYUSERPWD’ in the cpplite lib?

Thanks.