Apache HTTPD
Classes | Macros | Functions | Variables
mod_proxy_connect.c File Reference
#include "mod_proxy.h"
#include "apr_poll.h"

Go to the source code of this file.

Classes

struct  connect_conf
 
struct  port_range
 

Macros

#define CONN_BLKSZ   AP_IOBUFSIZE
 

Functions

static void * create_config (apr_pool_t *p, server_rec *s)
 
static void * merge_config (apr_pool_t *p, void *basev, void *overridesv)
 
static const charset_allowed_ports (cmd_parms *parms, void *dummy, const char *arg)
 
static int allowed_port (connect_conf *conf, int port)
 
static int proxy_connect_canon (request_rec *r, char *url)
 
static int proxy_connect_handler (request_rec *r, proxy_worker *worker, proxy_server_conf *conf, char *url, const char *proxyname, apr_port_t proxyport)
 
static void ap_proxy_connect_register_hook (apr_pool_t *p)
 

Variables

static const command_rec cmds []
 
static int *const aplog_module_index = &( proxy_connect_module.module_index)
 

Macro Definition Documentation

◆ CONN_BLKSZ

#define CONN_BLKSZ   AP_IOBUFSIZE

Definition at line 22 of file mod_proxy_connect.c.

Function Documentation

◆ allowed_port()

static int allowed_port ( connect_conf conf,
int  port 
)
static

< default HTTPS port

< default SNEWS port

Definition at line 117 of file mod_proxy_connect.c.

◆ ap_proxy_connect_register_hook()

static void ap_proxy_connect_register_hook ( apr_pool_t p)
static

Definition at line 383 of file mod_proxy_connect.c.

◆ create_config()

static void * create_config ( apr_pool_t p,
server_rec s 
)
static

Definition at line 58 of file mod_proxy_connect.c.

◆ merge_config()

static void * merge_config ( apr_pool_t p,
void *  basev,
void *  overridesv 
)
static

Definition at line 65 of file mod_proxy_connect.c.

◆ proxy_connect_canon()

static int proxy_connect_canon ( request_rec r,
char url 
)
static

< Module declines to handle

< Module has handled this stage.

Definition at line 135 of file mod_proxy_connect.c.

◆ proxy_connect_handler()

static int proxy_connect_handler ( request_rec r,
proxy_worker worker,
proxy_server_conf conf,
char url,
const char proxyname,
apr_port_t  proxyport 
)
static

< Module declines to handle

< Module has handled this stage.

< Module declines to handle

< Module has handled this stage.

< Module has served the response completely * - it's safe to die() with no more output

< Module has handled this stage.

Definition at line 147 of file mod_proxy_connect.c.

◆ set_allowed_ports()

static const char * set_allowed_ports ( cmd_parms parms,
void *  dummy,
const char arg 
)
static

Definition at line 83 of file mod_proxy_connect.c.

Variable Documentation

◆ aplog_module_index

int* const aplog_module_index = &( proxy_connect_module.module_index)
static

Definition at line 396 of file mod_proxy_connect.c.

◆ cmds

const command_rec cmds[]
static
Initial value:
=
{
{ "AllowCONNECT" , set_allowed_ports , NULL , 128 , ITERATE, "A list of ports or port ranges which CONNECT may connect to" },
{NULL}
}
@ ITERATE
Definition http_config.h:53
static const char * set_allowed_ports(cmd_parms *parms, void *dummy, const char *arg)
return NULL
Definition mod_so.c:359

Definition at line 389 of file mod_proxy_connect.c.