From 87aac15567a927fcae8b7236dd0d46aed99601a7 Mon Sep 17 00:00:00 2001 From: Willem Stuursma-Ruwen Date: Mon, 6 Mar 2017 15:59:03 +0100 Subject: [PATCH] Update Proxy.php Silence errors, so that only the exception is thrown and no warning is triggered (or custom error handler loaded). --- library/Zend/Http/Client/Adapter/Proxy.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/Zend/Http/Client/Adapter/Proxy.php b/library/Zend/Http/Client/Adapter/Proxy.php index 9dba901..6eee82c 100644 --- a/library/Zend/Http/Client/Adapter/Proxy.php +++ b/library/Zend/Http/Client/Adapter/Proxy.php @@ -305,7 +305,7 @@ protected function connectHandshake( $success = false; foreach($modes as $mode) { - $success = stream_socket_enable_crypto($this->socket, true, $mode); + $success = @stream_socket_enable_crypto($this->socket, true, $mode); if ($success) { break; }