mirror of
https://github.com/the-djmaze/snappymail.git
synced 2026-09-08 17:07:03 +03:00
Resolve #936
This commit is contained in:
parent
477628ed70
commit
396a1a423e
1 changed files with 2 additions and 9 deletions
|
|
@ -92,7 +92,8 @@ abstract class NetClient
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($this->IsConnected()) {
|
if ($this->IsConnected()) {
|
||||||
$this->writeLogException(new Exceptions\SocketAlreadyConnectedException, \LOG_ERR);
|
$this->writeLogException(new Exceptions\SocketAlreadyConnectedException, \LOG_ERR, false);
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$this->Settings = $oSettings;
|
$this->Settings = $oSettings;
|
||||||
|
|
@ -214,14 +215,6 @@ abstract class NetClient
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* @throws \MailSo\Net\Exceptions\SocketConnectionDoesNotAvailableException
|
|
||||||
*/
|
|
||||||
public function IsConnectedWithException() : void
|
|
||||||
{
|
|
||||||
$this->IsConnected(true);
|
|
||||||
}
|
|
||||||
|
|
||||||
public function StreamContextParams() : array
|
public function StreamContextParams() : array
|
||||||
{
|
{
|
||||||
return $this->rConnect && \MailSo\Base\Utils::FunctionCallable('stream_context_get_options')
|
return $this->rConnect && \MailSo\Base\Utils::FunctionCallable('stream_context_get_options')
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue