Closed Ekstazi closed 3 years ago
Aerys is not supported anymore. For any new developments use this package.
Apologies for not tagging a current release, there's quite a bit of changes in master. That being said, v1.x should work well with http-server v1.x. Master will be changing soon to use socket v1.0 and http-server 2.0, both of which have not been tagged yet, but soon.
I tried both versions yesterday but both have a problem with disconnect. I don't have much time yet to provide issue and PR...
I tried both versions yesterday but both have a problem with disconnect. I don't have much time yet to provide issue and PR...
Without any more info nobody will be able to help you or provide support.
At very least you could try to describe the exhibited behaviour
This bug reproduces in both versions.
I guess it's related to https://github.com/amphp/websocket/pull/4/files?
@kelunik Yes, and I think I shouldn't have nulled the encapsulated socket here https://github.com/amphp/http-server/blob/master/src/Driver/Internal/DetachedSocket.php#L43-L48
It's been fixed already in the v2.x branch since the class changed significantly, but I'll fix it in master as well.
EDIT: Perhaps it's because this assert is poorly placed?
I installed websocket-server dev-master by composer. May be I also need to install custom http-server version?
Both websocket-server and websocket-client work great in my project, I hope the new versions will be tagged in both projects soon. Thanks for the great job!
v2.0.0-rc1 has been tagged. Please test and provide feedback! Thank you!
@trowski when do you think you will release v2 ?
@elovin Very soon after tagging v2 of http-server
(which should be any day now).
I tagged v2.0.0-rc2
that uses v2.0.0
of http-server
. Assuming this RC has no major issues, I'll tag a final soon.
Thank you very much! I have already upgraded, and I hope you'll tag the client soon, too - it still locks me at http-server RC2.
What package i must use for websocket server ? this or aerys ? What's the difference between aerys ?