(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
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1613698

Title:
  curl: Problem with chunked encoded data

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/curl/+bug/1613698/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to