8000
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 e1641da commit 486f2c5Copy full SHA for 486f2c5
src/Symfony/Component/Mailer/Transport/Smtp/Stream/AbstractStream.php
@@ -75,7 +75,7 @@ public function readLine(): string
75
}
76
77
$line = fgets($this->out);
78
- if ('' === $line) {
+ if ('' === $line || false === $line) {
79
$metas = stream_get_meta_data($this->out);
80
if ($metas['timed_out']) {
81
throw new TransportException(sprintf('Connection to "%s" timed out.', $this->getReadConnectionDescription()));
0 commit comments