The patch doesn't make the reason show up, it would be nice if we could get this to work. If reason info is not available, it should state that and maybe suggest where to look for more clues. Not every hubadmin is cabable of looking through code and determine what causes his clients to disconnect for no apparant reason.
But the main problem in my opinion is: it would be friendlier for the client if it gets a reason, just a simple disconnect doesn't provide information to go on. Meanwhile, looking at +info, it shows me that REASON_PLUGIN is currently the most disconnect reason, so I'm guessing one of the LUA scripts is disconnecting. Tracing this back leads me to autil.dump, which makes me guess it is used somewhere without giving it a message to give to the client. However, when I search through the calls of this function it seems that every single one of them should provide some kind of feedback for the client. -- You received this bug notification because you are a member of Dcplusplus-team, which is subscribed to ADCH++. https://bugs.launchpad.net/bugs/1127553 Title: Connection closed without reason to the client Status in ADCH++: New Bug description: When a client tries to connect with a registered nickname, sometimes the hub decides it can not verify the client's authentication. However, the client doesn't get any message about what is wrong and only gets disconnected. Meanwhile, while running the hub in dbg, the only message that is related to it is "disconnecting because 18" - also not very informative. Sometimes a password change may help, but even that isn't always helping. A session from dbg: W7OC connected W7OC ready W7OC entering IDENTIFY W7OC verifying IP xx.xx.xx.xx W7OC verifying CID VFXHSFHDWWX6BRBOTRT7NYN6DSDGQAWELQ4YHWA W7OC verifying nick DjSlash W7OC entering VERIFY W7OC disconnecting because 18 Removing W7OC - VFXHSFHDWWX6BRBOTRT7NYN6DSDGQAWELQ4YHWA ManagedSocket deleted SocketStream deleted To manage notifications about this bug go to: https://bugs.launchpad.net/adchpp/+bug/1127553/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~linuxdcpp-team Post to : linuxdcpp-team@lists.launchpad.net Unsubscribe : https://launchpad.net/~linuxdcpp-team More help : https://help.launchpad.net/ListHelp