We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b06c154 commit 98b6095Copy full SHA for 98b6095
src/StreamEncryption.php
@@ -30,9 +30,9 @@ public function __construct(LoopInterface $loop)
30
// https://github.com/reactphp/socket-client/issues/24
31
// On versions affected by this bug we need to fread the stream until we
32
// get an empty string back because the buffer indicator could be wrong
33
- if (version_compare(PHP_VERSION, '5.6.8', '<')) {
34
- $this->wrapSecure = true;
35
- }
+ if (version_compare(PHP_VERSION, '5.6.8', '<')) {
+ $this->wrapSecure = true;
+ }
36
37
if (defined('STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT')) {
38
$this->method |= STREAM_CRYPTO_METHOD_TLSv1_0_CLIENT;
0 commit comments