Improve the odds of winning the oidentd race when using SSL for IRC 89/head
authorMichael Marley <michael@michaelmarley.com>
Thu, 4 Sep 2014 00:12:31 +0000 (20:12 -0400)
committerMichael Marley <michael@michaelmarley.com>
Thu, 4 Sep 2014 00:29:54 +0000 (20:29 -0400)
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.


No differences found