← Back to team overview

linuxdcpp-team team mailing list archive

[Bug 717858] Re: No timeout when a client connect in NMDC mode.

 

the LoginTimeout functionality was indeed not disconnecting users, and
the setting was not being respected (had a fix value of 30sec).

this patch is the same as patch 1, with the addition of the following:
- correct call used to disconnect ("shutdown" instead of "close").
- process most settings again, including the former LoginTimeout, now called "LogTimeout" to avoid clashes with the previous setting because it is now expressed in millisec rather than sec.

** Patch added: "Patch 2"
   https://bugs.launchpad.net/adchpp/+bug/717858/+attachment/2121313/+files/patch.patch

-- 
You received this bug notification because you are a member of
Dcplusplus-team, which is subscribed to ADCH++.
https://bugs.launchpad.net/bugs/717858

Title:
  No timeout when a client connect in NMDC mode.

Status in ADCH++:
  Confirmed

Bug description:
  To reproduce, connect to a adch hub with no adc(s) prefix both hub and
  client will wait for each other to receive a string, the hub for the
  SUP and the client for the $Hello.

  Non of them will close the connection and socket stays connected
  aslong either hub or client restarts.


References