title: cURL: [P]roblem (2) in the Chunked-Encoded data
body: <p>I have a PHP application that uses Guzzle to make HTTP requests.</p>
  
  <p>I'm getting the following exception:</p>
  
  <pre><code>[curl] 56: Problem (2) in the Chunked-Encoded data [url] http://...
  </code></pre>
  
  <p>It looks like the problem is with cURL. I've tried to compile latest version of cURL from source, but it looks like it doesn't help.</p>
  
  <p>What could be the problem and how do I fix it?</p>
  
  <hr>
  
  <pre><code>$ curl --version
  curl 7.41.0 (i686-pc-linux-gnu) libcurl/7.35.0 OpenSSL/1.0.1f zlib/1.2.8 libidn/1.28 librtmp/2.3
  Protocols: dict file ftp ftps gopher http https imap imaps ldap ldaps pop3 pop3s rtmp rtsp smtp smtps telnet tftp 
  Features: AsynchDNS IDN IPv6 Largefile NTLM NTLM_WB SSL libz TLS-SRP
  
  $ cat /etc/issue
  Ubuntu 14.04.2 LTS \n \l
  
  $ composer show -i
  
  guzzle/guzzle                       v3.9.2             Guzzle is a PHP HTTP client library and framework for building RESTful web service clients
  misd/guzzle-bundle                  v1.1.5             Integrates Guzzle into your Symfony2 application
  
  $ apt-cache policy php5-curl
  
  php5-curl:
    Installed: 5.5.9+dfsg-1ubuntu4.6
    Candidate: 5.5.9+dfsg-1ubuntu4.6
  </code></pre>