Skip to content

Long-Polling SID from ping/disconnect and connect are not the same #1338

Answered by killjourdain
killjourdain asked this question in Q&A
Discussion options

You must be logged in to vote

Good morning,

For information, I had tested on different operating systems and different web servers and the problem was the same.

Maybe I expressed myself wrongly, if I run the server and the client on the same computer, I would see the disconnection. I don't see the disconnection when I have a server and a client on two separate computers and I cut the client's wifi or ethernet.

In my server log I see a "service task canceled" log and that's what makes me think that the commit could be the cause of my problem, quite simply because I think that "raise KeyboardInterrupt()" line (which is not present in version 4.5.1) break the loop. Maybe I'm wrong.

And otherwise the commit does not only …

Replies: 3 comments 9 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
6 replies
@killjourdain
Comment options

@miguelgrinberg
Comment options

@killjourdain
Comment options

@killjourdain
Comment options

@miguelgrinberg
Comment options

Comment options

You must be logged in to vote
3 replies
@miguelgrinberg
Comment options

@killjourdain
Comment options

@miguelgrinberg
Comment options

Answer selected by miguelgrinberg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants