Skip to content

Commit 501ac1c

Browse files
Merge branch '4.4' into 5.4
* 4.4: [Mailer] Stream timeout not detected due to checking only string result of function fgets don not set http_version instead of setting it to null [DependencyInjection] don't move locator tag for service subscriber Fix the notification email theme for asynchronously dispatched emails Update actions in the CI to move away from the deprecated runtime Use 6.3 for new features [HttpFoundation] Check IPv6 is valid before comparing it Run tests with UTC to avoid daylight saving time messing with assertions Bump Symfony version to 4.4.49 Update VERSION for 4.4.48 Update CONTRIBUTORS for 4.4.48 Update CHANGELOG for 4.4.48
2 parents 926f4de + 554b8c0 commit 501ac1c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Transport/Smtp/Stream/AbstractStream.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public function readLine(): string
7575
}
7676

7777
$line = fgets($this->out);
78-
if ('' === $line) {
78+
if ('' === $line || false === $line) {
7979
$metas = stream_get_meta_data($this->out);
8080
if ($metas['timed_out']) {
8181
throw new TransportException(sprintf('Connection to "%s" timed out.', $this->getReadConnectionDescription()));

0 commit comments

Comments
 (0)