(Hmm, the bug tracker ate the rest of my comment?!) # php test.php string(2) "OK" string(0) ""
string(2) "OK" string(0) "" string(2) "OK" string(0) "" number_format(null) called bool(false) string(39) "Problem (2) in the Chunked-Encoded data" number_format(null) called --------------------------------------------- The updated packages actually seem to fix the problem - no more "Problem (2) in the Chunked-Encoded data": # curl http://launchpadlibrarian.net/281937790/libcurl3_7.35.0-1ubuntu2.9_amd64.deb -O # curl http://launchpadlibrarian.net/281937786/curl_7.35.0-1ubuntu2.9_amd64.deb -O # dpkg -i *deb (Reading database ... 67243 files and directories currently installed.) Preparing to unpack curl_7.35.0-1ubuntu2.9_amd64.deb ... Unpacking curl (7.35.0-1ubuntu2.9) over (7.35.0-1ubuntu2.9) ... Preparing to unpack libcurl3_7.35.0-1ubuntu2.9_amd64.deb ... Unpacking libcurl3:amd64 (7.35.0-1ubuntu2.9) over (7.35.0-1ubuntu2.8) ... Setting up libcurl3:amd64 (7.35.0-1ubuntu2.9) ... Setting up curl (7.35.0-1ubuntu2.9) ... Processing triggers for man-db (2.6.7.1-1ubuntu1) ... Processing triggers for libc-bin (2.19-0ubuntu6.9) ... # dpkg -l |grep curl ii curl 7.35.0-1ubuntu2.9 amd64 command line tool for transferring data with URL syntax ii libcurl3:amd64 7.35.0-1ubuntu2.9 amd64 easy-to-use client-side URL transfer library (OpenSSL flavour) # php test.php string(2) "OK" string(0) "" string(2) "OK" string(0) "" string(2) "OK" string(0) "" number_format(null) called string(2) "OK" string(0) "" number_format(null) called string(2) "OK" string(0) "" number_format(null) called string(2) "OK" string(0) "" number_format(null) called string(2) "OK" string(0) "" number_format(null) called string(2) "OK" string(0) "" number_format(null) called string(2) "OK" string(0) "" number_format(null) called string(2) "OK" string(0) "" number_format(null) called --------------------------------------------- Thanks everyone for the quick support! -- You received this bug notification because you are a member of Ubuntu Touch seeded packages, which is subscribed to curl in Ubuntu. https://bugs.launchpad.net/bugs/1613698 Title: curl: Problem with chunked encoded data Status in curl package in Ubuntu: Fix Released Status in curl source package in Trusty: Fix Committed Bug description: [Impact] curl in Ubuntu 14.0.4 suffers from a bug ("Problem (2) in the Chunked-Encoded data") introduced in curl 7.35.0 (https://github.com/curl/curl/commit/345891edba32312686e18d8ff185f4476b74e417). See the corresponding thread on the curl mailing list: * https://curl.haxx.se/mail/lib-2014-02/0100.html * https://curl.haxx.se/mail/lib-2014-02/0108.html Googling for "Problem (2) in the Chunked-Encoded data" shows that this seems to be a problem for other Ubuntu users, too. For example: * https://github.com/jackalope/jackalope-jackrabbit/issues/89#issuecomment-55084492 * https://www.mastizada.com/blog/chunked-encoded-data-error-in-php-curl-requests/ * https://bugs.php.net/bug.php?id=72131 [ test case] * curl -v 'http://curl.haxx.se/download/' (this might work on some configurations) [ fix ] The issue was fixed in curl 7.36.0 with https://github.com/curl/curl/commit/0ab97ba0090f2609760c33000181f08757336a48 If you apply that patch to curl in Ubuntu 14.04, I'm sure you'll make a lot of people happy - including me. Thanks! [Regression Potential] * none, fix comes from upstream, and is a fix of a bad commit To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/curl/+bug/1613698/+subscriptions -- Mailing list: https://launchpad.net/~touch-packages Post to : touch-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~touch-packages More help : https://help.launchpad.net/ListHelp