PtokaX forum

PtokaX => Bugs => Topic started by: ATAG on 25 September, 2008, 16:08:16

Title: socket freeze (?) on nix
Post by: ATAG on 25 September, 2008, 16:08:16
Hi!

I have a big problem about nix version. "Keep slow client online" is turned off. However when a client becomes "slow" and hub quits its nick it doesn't close the socket. The client see he is online, but receives nothing anymore from the hub.

here is an example, i hope you will understand this
Client:
Quote[2008-09-24 19:54] <[HUN]acidcode> M? ERIKA MIVAN?
[2008-09-24 20:22] *** Sz?tkapcsolva (disconnected)
[2008-09-24 20:22] *** Kapcsol?d?s diablohub.hu:4111... (connecting to..)

And this is from the hub:
Quote[19:38:56] <[HUN]acidcode> M? ERIKA MIVAN?:D
[19:39:13] <[HUN]Erika83> gyors ?sszev?gdosom magam le?blitem ?s itt is vok:D
[19:39:23] <[HUN]Erika83> Danci gyere ki a hora :D
....
[19:50:40] <VALKNUT> Kil?p:[?M??al?]GhostGirl? -> now hub quits her nick but she keep see herself online...

Just watch the timestamps... Our clock are synchronized!!! This happend with me too, its not a client side error..
Title: Re: socket freeze (?) on nix
Post by: ATAG on 26 September, 2008, 03:30:57
I don't know.
I received the $Quit @ 19:50, she received a message 4 minutes later!!! (19:54) (and 16 minutes later then the message was sent (19:38)).
Really intresting :-/
Title: Re: socket freeze (?) on nix
Post by: PPK on 27 September, 2008, 11:57:07
I'm checked that, and improved disconnect when user is slow 8) Socket was closed, but it tryed to send rest of data in send buffer before that.. and if user was too slow he was not able to receive them and maybe he don't receive close too ::)