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 845d8f1 commit 473723fCopy full SHA for 473723f
Transport/Smtp/Stream/AbstractStream.php
@@ -74,6 +74,9 @@ public function readLine(): string
74
if ($metas['timed_out']) {
75
throw new TransportException(sprintf('Connection to "%s" timed out.', $this->getReadConnectionDescription()));
76
}
77
+ if ($metas['eof']) {
78
+ throw new TransportException(sprintf('Connection to "%s" has been closed unexpectedly.', $this->getReadConnectionDescription()));
79
+ }
80
81
82
return $line;
0 commit comments