cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Using libcurl's proxy option seems strange,why?

From: Daniel Stenberg <daniel-curl_at_haxx.se>
Date: Fri, 29 Jul 2005 01:04:20 +0200 (CEST)

On Thu, 21 Jul 2005, jun wrote:

> without using proxy: my app can successfully send and recv 10K messages
> (200 msg per second)
> with using proxy: my app perform very unsatisfied:

...

> When failed , the mainly result code of curl is 7(could not connect),
> sometime is 28(operation timeout).

...

> Why? Are these anything wrong that I use curl' s option? What's the
> cause of this problem?
>
> Is it the proxy software's restriction or curl's problem?

Are you doing plain HTTP requests only?

If so, then I really cannot see how this can be libcurl's fault as the
requests and operations are done exactly the same way, only different in what
is sent in the GET request.

Are you re-using the connection to the proxy?

-- 
  Commercial curl and libcurl Technical Support: http://haxx.se/curl.html
Received on 2005-07-29