-
Notifications
You must be signed in to change notification settings - Fork 97
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
use native SecureSocket instead of hurlant crypto #28
base: master
Are you sure you want to change the base?
Conversation
We offer permessage-deflate in negotiation and accepted compressed data from the server, although we never send compressed data ourselves.
I tried to use this project to communicate with Tomcat 8.5.6. SecureSocket (wss://) - unable to use as I don't have Flash Policy Server that knows handle TLS handshake. |
I didn't find Flash Policy Server for SSL/TLS out of the box and have implemented one using JSSE SSLServerSocket and it works now. |
A working TLS Flash Policy Server using nodejs is available in the sample server of chatziko/FlashSocket.IO |
It works fine when I disable 'permessage-deflate' extension. Flash client fails to decode inflated message otherwise. Any clue? |
Additional information from Flash debugger log. |
Try https://github.com/chatziko/AS3WebSocket, it has (limited) support for permessage-deflate (not included in this PR) |
https://github.com/chatziko/AS3WebSocket is exactly the project I use and it doesn't work for me as described above. The JSON I get after inflation fails on parsing. |
Try to set |
I set websocket.debug = true. Where I should search for useful information? |
Wherever trace() output goes in your setup.
|
There is no additional trace prints from WebSocket. The symptom is that only part of the deflated fragmented message arrives to the client. Client knows assemble fragmented message to the whole and everything works fine when deflate is disabled. I think you can easily reproduce it by sending long messages that are deflated on the server side. |
Don't work on Chrome58.
|
Anniywell, It works on Chrome59.
pf.listen(843, function () { |
Can you share the JSSE SSLServerSocket server? I am facing the same security error and I need to use only java server. |
Is it still relevant? If so - how do you want me to share? |
is there some way to connect to websocket server under cloudflare? |
… On Mon, Apr 12, 2021 at 10:41 AM exstrim401 ***@***.***> wrote:
is there some way to connect to websocket server under cloudflare?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#28 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAAM7QGLFF7ACFMS3MT46F3TIMWDPANCNFSM4BZFINPA>
.
|
It's faster, more secure, and greatly reduces swf size.
Apart from removing the hurlant files, the only real change is in WebSocket.as and it's actually quite small.