New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
ssl secure connection #1027
Comments
The default SSL handshake process in PHP is blocking, so we have disabled it and will attempt to enable SSL handshake with stream_socket_enable_crypto only when there is data available on TCP. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
workerman/src/Worker.php
Line 2314 in e6162ad
may i ask, why do you disable encryption on the stream, if transport is ssl? or am I missing something? I see you enable it in tcp again, is it because of udp not supporting ssl?
https://www.php.net/manual/en/function.stream-socket-enable-crypto.php
The text was updated successfully, but these errors were encountered: