cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Bad Gateway Error data receiving - libcurl

From: Tor Arntsen <tor_at_spacetec.no>
Date: Tue, 3 Aug 2010 10:51:24 +0200

On Tue, Aug 3, 2010 at 10:42, Technical Queries
<technicalqueries_at_yahoo.com> wrote:
>
> Hi All,
>
> I send this query 2-3 times. No body replied to it.

No, Daniel replied. From memory, what he replied was essentially:

> Q1. Is it libcurl problem?
No
> Q2. Is it problem on server side?
Yes.
> Q3 Am I missing anything to set options of libcurl to fix this problem?
N/A, due to Q1

Here's my own reply:

> 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..
[...]

So, you're going through a proxy. Many proxies have upload limits.
Squid used to have a 2MB limit in older versions, for example.

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