Using poco-1.4.6 on linux using gcc 4.8, I'm facing problem with connecting outside servers (eg. http://www.google.com) when I'm behind a proxy. HTTPClientSession::sendRequest fails with 'Connection Refused' exception when it is trying to connect to proxy server. I've tested the httpget sample in Net directory. I rewrote the same sample using curl calls and found no problems in connecting to the said address.
Also when proxy is specified as name (eg. myproxy.company.com) instead of IP address, PocoNet is not able to resolve the address for the proxy server. What am i missing here.?