cURL / Mailing Lists / curl-library / Single Mail

curl-library

Bad Gateway Error data receiving - libcurl

From: Technical Queries <technicalqueries_at_yahoo.com>
Date: Tue, 3 Aug 2010 14:12:55 +0530 (IST)

Hi All,
 
I send this query 2-3 times. No body replied to it.
 
Hence again sending it. Sorry for that. But it is burning issue for me.
 
I am facing below problem:
 
I get "502 Proxy Error" response from server url to which I am connecting .
Mostly error while uploading files more than 2 MB. It is also incosistently receiving. Sometimes able to upload (send) the data successfully..
 
I am setting below options in libcurl
.

CURLOPT_URL
CURLOPT_HEADERDATA
CURLOPT_WRITEFUNCTION
CURLOPT_WRITEDATA,
CURLOPT_POSTFIELDS
CURLOPT_TIMEOUT
CURLOPT_NOPROGRESS
CURLOPT_PROGRESSFUNCTION
CURLOPT_PROGRESSDATA

Q1. Is it libcurl problem?
Q2. Is it problem on server side?
Q3  Am I missing anything to set options of libcurl to fix this problem?
 
 I am using libcurl 7.20.1.
 
This is a burning issue for me. Please help me ASAP.
 
Warm Regards,
Tech Q.

-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-library
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2010-08-03