Author Topic: socket freeze (?) on nix  (Read 2069 times)

0 Members and 1 Guest are viewing this topic.

Offline ATAG

  • Scripter
  • Double Ace
  • ******
  • Posts: 111
  • Karma: +14/-0
  • secret things
    • Metin2 Hungarian Forum
socket freeze (?) on nix
« 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..
« Last Edit: 25 September, 2008, 16:15:39 by ATAG »

PtokaX forum

socket freeze (?) on nix
« on: 25 September, 2008, 16:08:16 »

Offline ATAG

  • Scripter
  • Double Ace
  • ******
  • Posts: 111
  • Karma: +14/-0
  • secret things
    • Metin2 Hungarian Forum
Re: socket freeze (?) on nix
« Reply #1 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 :-/
« Last Edit: 26 September, 2008, 03:34:32 by ATAG »

Offline PPK

  • Administrator
  • Emperor
  • *****
  • Posts: 1 480
  • Karma: +209/-22
  • PtokaX developer
Re: socket freeze (?) on nix
« Reply #2 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 ::)
"Most of you are familiar with the virtues of a programmer. There are three, of course: laziness, impatience, and hubris." - Larry Wall

PtokaX forum

Re: socket freeze (?) on nix
« Reply #2 on: 27 September, 2008, 11:57:07 »