|
cwist
Modern C web framework with libttak runtime
|
#include <cwist/net/http/https.h>
Go to the source code of this file.
Functions | |
| __attribute__ ((weak)) | |
| Optional hook called after a successful TLS upgrade of a connection. | |
| __attribute__ | ( | (weak) | ) |
Optional hook called after a successful TLS upgrade of a connection.
Weak default implementation that keeps cwist ownership of the connection. Applications that need to take ownership of a TLS-upgraded connection (e.g. reverse-session hijacking) provide their own strong definition of this symbol, which overrides this stub at static link time.
| conn | The upgraded HTTPS connection. |
| req | The HTTP request that triggered the upgrade. |
| res | The HTTP response to be sent before detaching. |
Definition at line 32 of file https_upgrade_hook.c.
References cap.