New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix error checking on Zend\Http\Client\Adapter\Socket->write(). #3033

wants to merge 1 commit into
base: master
Jump to file or symbol
Failed to load files and symbols.
+1 −1
Diff settings


Just for now

@@ -360,7 +360,7 @@ public function write($method, $uri, $http_ver = '1.1', $headers = array(), $bod
$test = fwrite($this->socket, $request);
$error = ErrorHandler::stop();
if (!$test) {
if (false === $test) {
throw new AdapterException\RuntimeException('Error writing request to server', 0, $error);
ProTip! Use n and p to navigate between commits in a pull request.