Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
Fix error checking on Zend\Http\Client\Adapter\Socket->write(). #3033
This failed on CLI usage, giving:
The PHP fwrite function can returns the bytes written, which can be 0 – and returns false on error:
This breaks the ZendService\Amazon\S3\S3->putFile(), when called from a CLI PHP script (using Symfony console).