tcpserver: do not generate a warning on screen if the client reject the crypto enabling
git-svn-id: https://svn.fournier38.fr/svn/ProgSVN/trunk@4028 bf3deb0d-5f1a-0410-827f-c0cc1f45334c
This commit is contained in:
@@ -232,7 +232,7 @@ class tcpserver
|
||||
));
|
||||
stream_set_blocking ($this->socket, true);
|
||||
stream_context_set_option ($this->socket, $options);
|
||||
return stream_socket_enable_crypto ($this->socket, !!$val, $cryptoMethod);
|
||||
return @stream_socket_enable_crypto ($this->socket, !!$val, $cryptoMethod);
|
||||
}
|
||||
|
||||
/** Set context SSL option.
|
||||
|
||||
Reference in New Issue
Block a user