title: error: RPC failed; curl transfer closed with outstanding read data remaining
body: <p>I'm facing this error when I try to clone a repository from GitLab (GitLab 6.6.2 4ef8369):</p>
  <pre><code>remote: Counting objects: 66352, done.
  remote: Compressing objects: 100% (10417/10417), done.
  error: RPC failed; curl 18 transfer closed with outstanding read data remaining
  fatal: The remote end hung up unexpectedly
  fatal: early EOF
  fatal: index-pack failed
  </code></pre>
  <p>The clone is then aborted. How can I avoid this?</p>