Merge branch '4.3' into 4.4
* 4.3: [Mailer] fixed wrong error message when connection closes unexpectedly
This commit is contained in:
commit
621c7405a4
@ -80,6 +80,9 @@ abstract class AbstractStream
|
|||||||
if ($metas['timed_out']) {
|
if ($metas['timed_out']) {
|
||||||
throw new TransportException(sprintf('Connection to "%s" timed out.', $this->getReadConnectionDescription()));
|
throw new TransportException(sprintf('Connection to "%s" timed out.', $this->getReadConnectionDescription()));
|
||||||
}
|
}
|
||||||
|
if ($metas['eof']) {
|
||||||
|
throw new TransportException(sprintf('Connection to "%s" has been closed unexpectedly.', $this->getReadConnectionDescription()));
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->debug .= sprintf('< %s', $line);
|
$this->debug .= sprintf('< %s', $line);
|
||||||
|
Reference in New Issue
Block a user