Skip to content
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

Simple test blocks? #3

Closed
hsarvell opened this issue Jul 4, 2014 · 6 comments
Closed

Simple test blocks? #3

hsarvell opened this issue Jul 4, 2014 · 6 comments

Comments

@hsarvell
Copy link

hsarvell commented Jul 4, 2014

When I try the simple test under Client usage in the readme I never see 'Will output 'Hello WebSocket.org!'.

Same goes when I try against my own Ratchet server.

It seems like the code stalls on the send call?

@hsarvell
Copy link
Author

hsarvell commented Jul 7, 2014

OK, looks like the echo service took a very long time to complete, worked though.

Will look into why it won't work with Ratchet.

@fiddur
Copy link
Contributor

fiddur commented Aug 12, 2014

Have you found anything? I can't reproduce the long time here...

@hsarvell
Copy link
Author

I ended up completely commenting out the whole response section in Cliend->connect, works, last lines are write and setting is_connected to true. I also ended up creating my own socket server: https://bitbucket.org/hsarvell/pl-web

@fiddur
Copy link
Contributor

fiddur commented Aug 13, 2014

Hmm, I think I need to add a timeout handling in the loop waiting for upgrade response in Client->connect.

@hsarvell
Copy link
Author

I forgot, you have more info here: http://picolisp.com/wiki/?Websockets

@Enelar
Copy link

Enelar commented Sep 19, 2016

@fiddur yeah, upgrading state can possibly block both server and client.

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

No branches or pull requests

4 participants