From: Michael Marley Date: Thu, 4 Sep 2014 00:12:31 +0000 (-0400) Subject: Improve the odds of winning the oidentd race when using SSL for IRC X-Git-Tag: 0.11.0~8^2~1 X-Git-Url: https://git.quassel-irc.org/?p=quassel.git;a=commitdiff_plain;h=02666f58f85f8c8a127804716e7df2d52d1e273c;hp=02666f58f85f8c8a127804716e7df2d52d1e273c Improve the odds of winning the oidentd race when using SSL for IRC Previously, the .oidentd.conf file was not written until socketInitialized(), which meant that when using SSL for the IRC connection, the file would not be written until the SSL negotiation was complete. This delay meant that, in practice, oidentd integration almost never worked when using SSL IRC connections. This patch adds a new socketConnected() signal that fires as soon as the connection is open, regardless of encryption status, and connects the call to the oidentd configuration generator to this signal. This gives oidentd integration the same likelihood of working with SSL connections as with non-SSL connections. ---