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

Server refuses new client after closing original #1

Closed
GoogleCodeExporter opened this issue Apr 23, 2015 · 7 comments
Closed

Server refuses new client after closing original #1

GoogleCodeExporter opened this issue Apr 23, 2015 · 7 comments

Comments

@GoogleCodeExporter
Copy link

If i connect with Chrome, everything is fine till i close chrome or
disconnect.. If i try reconnecting, the connection is immediately closed?

Nice work by the way.


Original issue reported on code.google.com by terrybro...@gmail.com on 15 Dec 2009 at 10:56

@GoogleCodeExporter
Copy link
Author

I get the same problem. Why does this happen?

Original comment by joshda...@gmail.com on 21 Dec 2009 at 1:25

@GoogleCodeExporter
Copy link
Author

Me thinks it has something to do with the storing of handshakes per socket.. 
part of
his "todo" list

Original comment by terrybro...@gmail.com on 21 Dec 2009 at 9:48

@GoogleCodeExporter
Copy link
Author

Hey,

i have implemented the ability to handle multiple request.
one or two more days and i will post a more complex version of this server.
but there are many things that must be figured out...

--mo

i hope my english isnt to bad, im from germany

Original comment by moritzw...@gmail.com on 22 Dec 2009 at 11:39

@GoogleCodeExporter
Copy link
Author

Sounds great. Keep up the good work.

Original comment by terrybro...@gmail.com on 22 Dec 2009 at 4:58

@GoogleCodeExporter
Copy link
Author

[deleted comment]

@GoogleCodeExporter
Copy link
Author

Maybe I don't see something, but the problem still exists.

I've changed the $handshake variable to an array, which contain existing 
sockets. 
Actually, it duplicates $allsockets, but they have different moments of 
initiallization. The 
main idea - we do a handshake whenever a new socket is being opened. In other 
words we do it 
when there's no socket in the array yet. So it handles multiple connections (at 
least, the 
problem is solved)..

Hope it'll be helpfull for anyone.

Original comment by sidelnik...@gmail.com on 25 Dec 2009 at 8:54

Attachments:

@GoogleCodeExporter
Copy link
Author

2010.02.16 - Fixed

Original comment by georgen...@gmail.com on 16 Feb 2010 at 7:01

  • Changed state: Fixed

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

No branches or pull requests

1 participant