aboutsummaryrefslogtreecommitdiffstats
path: root/include/modules/ssl.h
Commit message (Collapse)AuthorAgeFilesLines
* Add support to IOHook for retrieving the hostname sent via SNI.Gravatar Peter Powell2017-10-291-0/+7
|
* Export the GetCiphersuite() method from the SSL modulesGravatar Attila Molnar2016-04-281-0/+6
|
* Add SSLIOHook::IsSSL() to determine whether a socket is using SSL or notGravatar Attila Molnar2016-04-281-3/+10
| | | | Use it in a few places
* Call OnStreamSocketWrite() once per write eventGravatar Attila Molnar2015-06-061-0/+25
| | | | Do sendq flattening in SSL modules, move code for it into class SSLIOHook from core
* Split IOHook into IOHook and IOHookProviderGravatar Attila Molnar2014-01-221-12/+18
| | | | | | | | | | | | | | | | | | 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.
* Change the API of m_sslinfo to be dynamic_reference-basedGravatar attilamolnar2013-06-071-10/+30
|
* Create SSLIOHook interface that provides GetCertificate()Gravatar attilamolnar2013-06-071-8/+55
|
* Create IOHook interface (extracted from Module)Gravatar attilamolnar2013-06-071-1/+2
|
* Tidy up source files:Gravatar Peter Powell2013-04-121-0/+172
- Use #pragma once instead of include guards. - Move header files in src/modules to include/modules. - Fixed various spacing issues.