Displaying 1 result from an estimated 1 matches for "_winsockapi_".
2013 Apr 04
0
Changing HTTP proxy configurations at run time
...src/modules/internet/nanohttp.c
===================================================================
--- src/modules/internet/nanohttp.c (revision 62488)
+++ src/modules/internet/nanohttp.c (working copy)
@@ -255,15 +255,12 @@
WSADATA wsaData;
#endif
- if (initialized)
- return;
-
#ifdef _WINSOCKAPI_
if (WSAStartup(MAKEWORD(1, 1), &wsaData) != 0)
return;
#endif
- if (proxy == NULL) {
+ proxy = NULL;
proxyPort = 80;
env = getenv("no_proxy");
if (env && ((env[0] == '*') && (env[1] == 0)))
@@ -287,7 +284,7 @@
#endif
proxyUser = xmlM...