GNOME Bugzilla – Bug 686603
xmlReadFile fails when proxy enabled on Windows7
Last modified: 2015-06-07 22:08:55 UTC
Hello, Hardware: x86 OS: Windows 7, 64 Bit We have an application running on Window7 that uses libxml2. We have 2 kinds of network where we need to test this application a) Network where all PC's are behind proxy server and b) Network where proxy is disabled. In (a), "xmlReadFile" API fails, in (b) it's works fine. We are passing a URL [Its a remote internet url and not a local file] to "xmlReadFile". Further debugging of "xmlReadFile" API, points out that "xmlNanoHTTPConnectAttempt" [defined in "nanohttp.c"] fails [in fact the "connect(s, addr, addrlen)" call fails]. On the contrary We have the same application running on on Linux FC16 64 bit, where both options (a) and (b) are working fine. Could you please let's know how to solve this problem. Thanks in advance.
I have no idea why the code on Windows would differ from the code in Fedora Linux. The only difference might be that the code which looks for the proxy information in http_proxy or HTTP_PROXY environment variables finds them in Foedora but not on Windows. Daniel
Closing this bug report as no further information has been provided. Please feel free to reopen this bug report if you can provide a simple test case to reproduce this issue. Thanks!