RE: problem with sendrecv.c
Date: Wed, 12 Nov 2008 11:20:27 +0530
So, for private IP HTTP server, its working only if i remove
for public IP HTTP server, its working only if i put CURLOPT_PROXY....
By private IP, I think you mean intranet. This is how the network in your
organization is configured. For internet IP, all http requests will go
through the HTTP proxy that your organization has set up. For intranet IP,
the requests will not be routed through the proxy.
This is not related to curl/libcurl.
Please suggest me a way so that it works both for local HTTP server and
Public HTTP server as well....
This cannot be done by the libcurl team. In your code, you have to
determine if it is an intranet IP. Then, disable the proxy.
This e-mail may contain privileged and confidential information which is the property of Persistent Systems Ltd. It is intended only for the use of the individual or entity to which it is addressed. If you are not the intended recipient, you are not authorized to read, retain, copy, print, distribute or use this message. If you have received this communication in error, please notify the sender and delete all copies of this message. Persistent Systems Ltd. does not accept any liability for virus infected mails.
Received on 2008-11-12