Age | Commit message (Collapse) | Author |
|
GCCs warnings for this are much better than Clangs.
|
|
parameters
|
|
This is an InspIRCd-specific token which is pointless because:
1. You can't STARTTLS after registration is complete.
2. You can already discover STARTTLS support via cap `tls`.
|
|
- Caps are now managed by m_cap
- Each cap uses one bit in an extension item shared with other caps
|
|
|
|
Create one IOHook instance for each hooked socket which contains all the
hook specific data and read/write/close functions, removing the need for
the "issl_session" array in SSL modules.
Register instances of the IOHookProvider class in the core and use them to
create specialized IOHook instances (OnConnect/OnAccept).
Remove the OnHookIO hook, add a dynamic reference to ListenSocket that
points to the hook provider (if any) to use for incoming connections on
that socket.
For outgoing connections modules still have to find the IOHookProvider
they want to use themselves but instead of calling AddIOHook(hookprov),
now they have to call IOHookProvider::OnConnect() after the connection
has been established.
|
|
both openssl and gnutls
|