cURL / Mailing Lists / curl-and-php / Single Mail

curl-and-php

RE: curl-and-php Digest, Vol 45, Issue 11

From: MELANIE MR. ROY <roymelanie_at_ddace.com>
Date: Tue, 19 May 2009 09:15:47 -0400

Thanks for your help....

But I am not sure of my understanding about this....

See my PHP file in attachment, my datas are posted successfully on the wheeltime web site... but I receive this:

bool(false) //result of var_dump($result)
56
Received problem 2 in the chunky parser

I don't know how to integrated what you talk in my PHP.... I am using apache server on IBM i5 system (ZendCore).

Thanks again....

Mélanie Roy
I.T. Network
DDACE Systèmes de puissance
2997 Avenue Watt
Québec  (QC)  Canada  G1X 3W1
Tél.:  418-651-5371 , ext. 2287
Téléc. : 418-651-4448
www.ddace.com

-----Message d'origine-----
De : curl-and-php-bounces_at_cool.haxx.se [mailto:curl-and-php-bounces_at_cool.haxx.se] De la part de curl-and-php-request_at_cool.haxx.se
Envoyé : 17 mai 2009 06:00
À : curl-and-php_at_cool.haxx.se
Objet : curl-and-php Digest, Vol 45, Issue 11

Send curl-and-php mailing list submissions to
        curl-and-php_at_cool.haxx.se

To subscribe or unsubscribe via the World Wide Web, visit
        http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
or, via email, send a message with subject or body 'help' to
        curl-and-php-request_at_cool.haxx.se

You can reach the person managing the list at
        curl-and-php-owner_at_cool.haxx.se

When replying, please edit your Subject line so it is more specific
than "Re: Contents of curl-and-php digest..."

Today's Topics:

   1. help (MELANIE MR. ROY)
   2. Re: help (peeyush gulati)

----------------------------------------------------------------------

Message: 1
Date: Thu, 14 May 2009 15:18:44 -0400
From: "MELANIE MR. ROY" <roymelanie_at_ddace.com>
Subject: help
To: <curl-and-php_at_cool.haxx.se>
Message-ID:
        <E00A59AA2BC7354BB0DDC56AA2F2BB7602BBB9DE_at_CORYYZEX01.wajax.com>
Content-Type: text/plain; charset="iso-8859-1"

Hello,

I sent a the content of an xml file in PHP with the curl_exec().... The server where I sent my file, must return to us a xml confirmation... and I receive this message:

56 Received problem 2 in the chunky parser

Could you help me ???

Thanks for your help.

M?lanie Roy
I.T. Network
DDACE?Syst?mes de puissance
2997 Avenue Watt
Qu?bec? (QC)? Canada? G1X 3W1
T?l.:? 418-651-5371 , ext. 2287
T?l?c.?: 418-651-4448
www.ddace.com

------------------------------

Message: 2
Date: Sun, 17 May 2009 02:11:22 +0800
From: peeyush gulati <peeyushgulati_at_gmail.com>
Subject: Re: help
To: curl with PHP <curl-and-php_at_cool.haxx.se>
Message-ID:
        <d167960a0905161111y428a7b99u765b2fe20716c00b_at_mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

This could help you

http://curl.haxx.se/libcurl/c/libcurl-errors.html
(<http://curl.haxx.se/libcurl/c/libcurl-errors.html>error
code 56 refers to Failure with receiving network data. thats the reason you
are not getting xml response)
More advice could beThis error happens because the HTTP response body was
sent using chunked encoding, and somewhere while "decoding" this chunked
stream libcurl discover a problem with it. If you can analyze your
HTTP response may be you can see if its a bad server !

A typical scenario
For instance if you have a nice compliant apache2 server sitting there
waiting to properly handle chunks, but in front of it is a big fat stupid
squid proxy. squid claims to support chunked encoding, but very promptly
eats sh*t when you post through it.*

And

If your server is not bad then it could be a simple case that, You might be
re-using a transfer class and not resetting all the libCurl options to their
defaults, so some of the upload options *leaked* to the last download call.

Give it a try and let us know !!!

Thanks
Peeyush

On Fri, May 15, 2009 at 3:18 AM, MELANIE MR. ROY <roymelanie_at_ddace.com>wrote:

> Hello,
>
> I sent a the content of an xml file in PHP with the curl_exec().... The
> server where I sent my file, must return to us a xml confirmation... and I
> receive this message:
>
> 56 Received problem 2 in the chunky parser
>
> Could you help me ???
>
> Thanks for your help.
>
> M?lanie Roy
> I.T. Network
> DDACE Syst?mes de puissance
> 2997 Avenue Watt
> Qu?bec (QC) Canada G1X 3W1
> T?l.: 418-651-5371 , ext. 2287
> T?l?c. : 418-651-4448
> www.ddace.com
>
> _______________________________________________
> http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
>

-- 
Thanks and Regards
Peeyush Gulati
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://cool.haxx.se/pipermail/curl-and-php/attachments/20090517/2d0a6110/attachment.html>
------------------------------
_______________________________________________
curl-and-php mailing list
curl-and-php_at_cool.haxx.se
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php
End of curl-and-php Digest, Vol 45, Issue 11
********************************************


_______________________________________________
http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-and-php

Received on 2009-05-19