error: RPC failed; curl transfer closed with outstanding read data remaining

There are usually issues with cloning large repositories over http. this can be due to web server settings, the backend and etc. Well today I had to clone a big repo off a phabricator instance and I was getting “error: RPC failed; curl transfer closed with outstanding read data remaining” all the way. after lots …