Apache HTTPD
Classes | Macros | Typedefs | Functions
tls_filter.h File Reference

Go to the source code of this file.

Classes

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"

Definition at line 19 of file tls_filter.h.

◆ TLS_PREF_PLAIN_CHUNK_SIZE

#define TLS_PREF_PLAIN_CHUNK_SIZE   (16384)

Definition at line 76 of file tls_filter.h.

◆ TLS_REC_EXTRA

#define TLS_REC_EXTRA   (1024)

Definition at line 87 of file tls_filter.h.

◆ TLS_REC_MAX_SIZE

#define TLS_REC_MAX_SIZE   (TLS_PREF_PLAIN_CHUNK_SIZE + TLS_REC_EXTRA)

Definition at line 88 of file tls_filter.h.

Typedef Documentation

◆ tls_filter_ctx_t

Definition at line 21 of file tls_filter.h.

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.

Definition at line 989 of file tls_filter.c.

◆ 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

< Module has handled this stage.

< Module declines to handle

< Module has handled this stage.

Definition at line 927 of file tls_filter.c.

◆ 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.

Definition at line 1011 of file tls_filter.c.