Closed fritzmg closed 7 years ago
This is only a minor issue.
Within the canConnect method, the Check tries to create a connection via
canConnect
fsockopen('ssl://…', 443, …);
This might generate Warnings when the connection fails, which might be visible in the frontend, depending on the server configuration:
Such a warning is generated when the open_ssl extension is missing for example.
open_ssl
This PR simply adds @ to fsockopen.
@
fsockopen
Turns out the fix was not comprehensive enough:
We should check if ($connected) when closing the connection.
if ($connected)
kk, I will make a PR tomorrow.
Thank you.
This is only a minor issue.
Within the
canConnect
method, the Check tries to create a connection viaThis might generate Warnings when the connection fails, which might be visible in the frontend, depending on the server configuration:
Such a warning is generated when the
open_ssl
extension is missing for example.This PR simply adds
@
tofsockopen
.