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 4e6d1b0 commit 8acd56dCopy full SHA for 8acd56d
src/Symfony/Component/Mailer/Transport/Smtp/Stream/SocketStream.php
@@ -160,7 +160,7 @@ public function initialize(): void
160
}
161
162
stream_set_blocking($this->stream, true);
163
- stream_set_timeout($this->stream, $timeout);
+ stream_set_timeout($this->stream, (int) $timeout, (int) (($timeout - (int) $timeout) * 1000000));
164
$this->in = &$this->stream;
165
$this->out = &$this->stream;
166
0 commit comments