Skip to content
This repository was archived by the owner on Sep 7, 2019. It is now read-only.

Conversation

sagebind
Copy link
Contributor

@sagebind sagebind commented Jun 5, 2015

PHP 5.6 has a few changes on how SSL is handled; hostnames are now verified during the SSL handshake. This issue was already fixed in react/socket-client here, but the changes didn't cascade since the changed method is overriden in Devristo\Phpws\Client\Connector. This should fix #60 (and maybe other SSL-related bugs).

@sagebind
Copy link
Contributor Author

sagebind commented Jul 1, 2015

Comments? I think this is an important fix for PHP 5.6, and is holding back the Slack realtime client I maintain from supporting PHP 5.6.

@mrmstn
Copy link

mrmstn commented Jul 9, 2015

thank you for the fix, looks great, hope this will be accepted soon

@DominicImhof
Copy link

+1, merge pls!

Devristo added a commit that referenced this pull request Jul 10, 2015
Pull in upstream fix for PHP hostname and SSL when creating new socket
@Devristo Devristo merged commit 7438075 into Devristo:master Jul 10, 2015
@Devristo
Copy link
Owner

Merged, sorry guys. I haven't been active lately...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Error in wss request (Secure WebSockets)
4 participants