Apache2
tls_filter.h File Reference

Go to the source code of this file.

Data Structures

struct  tls_filter_ctx_t
 

Macros

#define TLS_FILTER_RAW   "TLS raw"
 
#define TLS_PREF_PLAIN_CHUNK_SIZE   (16384)
 
#define TLS_REC_EXTRA   (1024)
 
#define TLS_REC_MAX_SIZE   (TLS_PREF_PLAIN_CHUNK_SIZE + TLS_REC_EXTRA)
 

Typedefs

typedef struct tls_filter_ctx_t tls_filter_ctx_t
 

Functions

void tls_filter_register (apr_pool_t *pool)
 
int tls_filter_pre_conn_init (conn_rec *c)
 
void tls_filter_conn_init (conn_rec *c)
 

Macro Definition Documentation

◆ TLS_FILTER_RAW

#define TLS_FILTER_RAW   "TLS raw"

◆ TLS_PREF_PLAIN_CHUNK_SIZE

#define TLS_PREF_PLAIN_CHUNK_SIZE   (16384)

◆ TLS_REC_EXTRA

#define TLS_REC_EXTRA   (1024)

◆ TLS_REC_MAX_SIZE

#define TLS_REC_MAX_SIZE   (TLS_PREF_PLAIN_CHUNK_SIZE + TLS_REC_EXTRA)

Typedef Documentation

◆ tls_filter_ctx_t

Function Documentation

◆ tls_filter_conn_init()

void tls_filter_conn_init ( conn_rec c)

Initialize the connection for use, perform the TLS handshake.

Any failure will lead to the connection becoming aborted.

◆ tls_filter_pre_conn_init()

int tls_filter_pre_conn_init ( conn_rec c)

Initialize the pre_connection state. Install all filters.

Returns
OK if TLS on connection is enabled, DECLINED otherwise

◆ tls_filter_register()

void tls_filter_register ( apr_pool_t pool)

Register the in-/output filters for converting TLS to application data and vice versa.