Azure/azure-storage-cpplite

Add support for connecting via https proxy

neilkenny opened this issue · 2 comments

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

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.

Hi @Jinming-Hu

As you mentioned in this place in the cpplite:
Azure/azure-storage-cpp#330 (comment)

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

Could you support ‘CURLOPT_PROXYUSERPWD’ in the cpplite lib?

Thanks.