curl-library
'502 Proxy Error' response from server for more than 2 MB files.
Date: Fri, 30 Jul 2010 17:48:21 +0530 (IST)
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-07-30