Apache2
mod_proxy AJP definitions
Collaboration diagram for mod_proxy AJP definitions:

Data Structures

struct  ajp_msg
 

Macros

#define APR_WANT_STRFUNC
 
#define AJP13_DEF_HOST   "127.0.0.1"
 
#define AJP13_DEF_PORT   8009
 
#define AJP13_HTTPS_INDICATOR   "HTTPS"
 
#define AJP13_SSL_PROTOCOL_INDICATOR   "SSL_PROTOCOL"
 
#define AJP13_SSL_CLIENT_CERT_INDICATOR   "SSL_CLIENT_CERT"
 
#define AJP13_SSL_CIPHER_INDICATOR   "SSL_CIPHER"
 
#define AJP13_SSL_SESSION_INDICATOR   "SSL_SESSION_ID"
 
#define AJP13_SSL_KEY_SIZE_INDICATOR   "SSL_CIPHER_USEKEYSIZE"
 
#define AJP_EOVERFLOW   (APR_OS_START_USERERR + 1)
 
#define AJP_ETOSMALL   (APR_OS_START_USERERR + 2)
 
#define AJP_EINVAL   (APR_OS_START_USERERR + 3)
 
#define AJP_EBAD_SIGNATURE   (APR_OS_START_USERERR + 4)
 
#define AJP_ETOBIG   (APR_OS_START_USERERR + 5)
 
#define AJP_ENO_HEADER   (APR_OS_START_USERERR + 6)
 
#define AJP_EBAD_HEADER   (APR_OS_START_USERERR + 7)
 
#define AJP_EBAD_MESSAGE   (APR_OS_START_USERERR + 8)
 
#define AJP_ELOGFAIL   (APR_OS_START_USERERR + 9)
 
#define AJP13_WS_HEADER   0x1234
 
#define AJP_HEADER_LEN   4
 
#define AJP_HEADER_SZ_LEN   2
 
#define AJP_HEADER_SZ   6
 
#define AJP_MSG_BUFFER_SZ   8192
 
#define AJP_MAX_BUFFER_SZ   65536
 
#define AJP13_MAX_SEND_BODY_SZ   (AJP_MAX_BUFFER_SZ - AJP_HEADER_SZ)
 
#define AJP_PING_PONG_SZ   128
 
#define CMD_AJP13_FORWARD_REQUEST   (unsigned char)2
 
#define CMD_AJP13_SEND_BODY_CHUNK   (unsigned char)3
 
#define CMD_AJP13_SEND_HEADERS   (unsigned char)4
 
#define CMD_AJP13_END_RESPONSE   (unsigned char)5
 
#define CMD_AJP13_GET_BODY_CHUNK   (unsigned char)6
 
#define CMD_AJP13_SHUTDOWN   (unsigned char)7
 
#define CMD_AJP13_PING   (unsigned char)8
 
#define CMD_AJP13_CPONG   (unsigned char)9
 
#define CMD_AJP13_CPING   (unsigned char)10
 
#define SC_A_CONTEXT   (unsigned char)1
 
#define SC_A_SERVLET_PATH   (unsigned char)2
 
#define SC_A_REMOTE_USER   (unsigned char)3
 
#define SC_A_AUTH_TYPE   (unsigned char)4
 
#define SC_A_QUERY_STRING   (unsigned char)5
 
#define SC_A_JVM_ROUTE   (unsigned char)6
 
#define SC_A_SSL_CERT   (unsigned char)7
 
#define SC_A_SSL_CIPHER   (unsigned char)8
 
#define SC_A_SSL_SESSION   (unsigned char)9
 
#define SC_A_REQ_ATTRIBUTE   (unsigned char)10
 
#define SC_A_SSL_KEY_SIZE   (unsigned char)11 /* only in if JkOptions +ForwardKeySize */
 
#define SC_A_SECRET   (unsigned char)12
 
#define SC_A_STORED_METHOD   (unsigned char)13
 
#define SC_A_ARE_DONE   (unsigned char)0xFF
 
#define SC_A_SSL_PROTOCOL   ("AJP_SSL_PROTOCOL")
 
#define SC_A_REQ_REMOTE_PORT   ("AJP_REMOTE_PORT")
 
#define SC_A_REQ_LOCAL_ADDR   ("AJP_LOCAL_ADDR")
 
#define SC_M_OPTIONS   (unsigned char)1
 
#define SC_M_GET   (unsigned char)2
 
#define SC_M_HEAD   (unsigned char)3
 
#define SC_M_POST   (unsigned char)4
 
#define SC_M_PUT   (unsigned char)5
 
#define SC_M_DELETE   (unsigned char)6
 
#define SC_M_TRACE   (unsigned char)7
 
#define SC_M_PROPFIND   (unsigned char)8
 
#define SC_M_PROPPATCH   (unsigned char)9
 
#define SC_M_MKCOL   (unsigned char)10
 
#define SC_M_COPY   (unsigned char)11
 
#define SC_M_MOVE   (unsigned char)12
 
#define SC_M_LOCK   (unsigned char)13
 
#define SC_M_UNLOCK   (unsigned char)14
 
#define SC_M_ACL   (unsigned char)15
 
#define SC_M_REPORT   (unsigned char)16
 
#define SC_M_VERSION_CONTROL   (unsigned char)17
 
#define SC_M_CHECKIN   (unsigned char)18
 
#define SC_M_CHECKOUT   (unsigned char)19
 
#define SC_M_UNCHECKOUT   (unsigned char)20
 
#define SC_M_SEARCH   (unsigned char)21
 
#define SC_M_MKWORKSPACE   (unsigned char)22
 
#define SC_M_UPDATE   (unsigned char)23
 
#define SC_M_LABEL   (unsigned char)24
 
#define SC_M_MERGE   (unsigned char)25
 
#define SC_M_BASELINE_CONTROL   (unsigned char)26
 
#define SC_M_MKACTIVITY   (unsigned char)27
 
#define SC_M_JK_STORED   (unsigned char)0xFF
 
#define SC_ACCEPT   (unsigned short)0xA001
 
#define SC_ACCEPT_CHARSET   (unsigned short)0xA002
 
#define SC_ACCEPT_ENCODING   (unsigned short)0xA003
 
#define SC_ACCEPT_LANGUAGE   (unsigned short)0xA004
 
#define SC_AUTHORIZATION   (unsigned short)0xA005
 
#define SC_CONNECTION   (unsigned short)0xA006
 
#define SC_CONTENT_TYPE   (unsigned short)0xA007
 
#define SC_CONTENT_LENGTH   (unsigned short)0xA008
 
#define SC_COOKIE   (unsigned short)0xA009
 
#define SC_COOKIE2   (unsigned short)0xA00A
 
#define SC_HOST   (unsigned short)0xA00B
 
#define SC_PRAGMA   (unsigned short)0xA00C
 
#define SC_REFERER   (unsigned short)0xA00D
 
#define SC_USER_AGENT   (unsigned short)0xA00E
 
#define SC_RESP_CONTENT_TYPE   (unsigned short)0xA001
 
#define SC_RESP_CONTENT_LANGUAGE   (unsigned short)0xA002
 
#define SC_RESP_CONTENT_LENGTH   (unsigned short)0xA003
 
#define SC_RESP_DATE   (unsigned short)0xA004
 
#define SC_RESP_LAST_MODIFIED   (unsigned short)0xA005
 
#define SC_RESP_LOCATION   (unsigned short)0xA006
 
#define SC_RESP_SET_COOKIE   (unsigned short)0xA007
 
#define SC_RESP_SET_COOKIE2   (unsigned short)0xA008
 
#define SC_RESP_SERVLET_ENGINE   (unsigned short)0xA009
 
#define SC_RESP_STATUS   (unsigned short)0xA00A
 
#define SC_RESP_WWW_AUTHENTICATE   (unsigned short)0xA00B
 
#define SC_RES_HEADERS_NUM   11
 

Typedefs

typedef struct ajp_msg ajp_msg_t
 

Detailed Description

Macro Definition Documentation

◆ AJP13_DEF_HOST

#define AJP13_DEF_HOST   "127.0.0.1"

◆ AJP13_DEF_PORT

#define AJP13_DEF_PORT   8009

◆ AJP13_HTTPS_INDICATOR

#define AJP13_HTTPS_INDICATOR   "HTTPS"

◆ AJP13_MAX_SEND_BODY_SZ

#define AJP13_MAX_SEND_BODY_SZ   (AJP_MAX_BUFFER_SZ - AJP_HEADER_SZ)

◆ AJP13_SSL_CIPHER_INDICATOR

#define AJP13_SSL_CIPHER_INDICATOR   "SSL_CIPHER"

◆ AJP13_SSL_CLIENT_CERT_INDICATOR

#define AJP13_SSL_CLIENT_CERT_INDICATOR   "SSL_CLIENT_CERT"

◆ AJP13_SSL_KEY_SIZE_INDICATOR

#define AJP13_SSL_KEY_SIZE_INDICATOR   "SSL_CIPHER_USEKEYSIZE"

◆ AJP13_SSL_PROTOCOL_INDICATOR

#define AJP13_SSL_PROTOCOL_INDICATOR   "SSL_PROTOCOL"

◆ AJP13_SSL_SESSION_INDICATOR

#define AJP13_SSL_SESSION_INDICATOR   "SSL_SESSION_ID"

◆ AJP13_WS_HEADER

#define AJP13_WS_HEADER   0x1234

Signature for the messages sent from Apache to tomcat

◆ AJP_EBAD_HEADER

#define AJP_EBAD_HEADER   (APR_OS_START_USERERR + 7)

Bad message header

◆ AJP_EBAD_MESSAGE

#define AJP_EBAD_MESSAGE   (APR_OS_START_USERERR + 8)

Bad message

◆ AJP_EBAD_SIGNATURE

#define AJP_EBAD_SIGNATURE   (APR_OS_START_USERERR + 4)

Bad message signature

◆ AJP_EINVAL

#define AJP_EINVAL   (APR_OS_START_USERERR + 3)

Invalid input parameters

◆ AJP_ELOGFAIL

#define AJP_ELOGFAIL   (APR_OS_START_USERERR + 9)

Cant log via AJP14

◆ AJP_ENO_HEADER

#define AJP_ENO_HEADER   (APR_OS_START_USERERR + 6)

Missing message header

◆ AJP_EOVERFLOW

#define AJP_EOVERFLOW   (APR_OS_START_USERERR + 1)

AJP Specific error codes Buffer overflow exception

◆ AJP_ETOBIG

#define AJP_ETOBIG   (APR_OS_START_USERERR + 5)

Incoming message too bg

◆ AJP_ETOSMALL

#define AJP_ETOSMALL   (APR_OS_START_USERERR + 2)

Destination Buffer is to small

◆ AJP_HEADER_LEN

#define AJP_HEADER_LEN   4

◆ AJP_HEADER_SZ

#define AJP_HEADER_SZ   6

◆ AJP_HEADER_SZ_LEN

#define AJP_HEADER_SZ_LEN   2

◆ AJP_MAX_BUFFER_SZ

#define AJP_MAX_BUFFER_SZ   65536

◆ AJP_MSG_BUFFER_SZ

#define AJP_MSG_BUFFER_SZ   8192

◆ AJP_PING_PONG_SZ

#define AJP_PING_PONG_SZ   128

◆ APR_WANT_STRFUNC

#define APR_WANT_STRFUNC

◆ CMD_AJP13_CPING

#define CMD_AJP13_CPING   (unsigned char)10

Webserver check if container is alive, since container should respond by cpong

◆ CMD_AJP13_CPONG

#define CMD_AJP13_CPONG   (unsigned char)9

Container response to cping request

◆ CMD_AJP13_END_RESPONSE

#define CMD_AJP13_END_RESPONSE   (unsigned char)5

Marks the end of response.

◆ CMD_AJP13_FORWARD_REQUEST

#define CMD_AJP13_FORWARD_REQUEST   (unsigned char)2

Send a request from web server to container

◆ CMD_AJP13_GET_BODY_CHUNK

#define CMD_AJP13_GET_BODY_CHUNK   (unsigned char)6

Get further data from the web server if it hasn't all been transferred yet.

◆ CMD_AJP13_PING

#define CMD_AJP13_PING   (unsigned char)8

Webserver ask container to take control (logon phase)

◆ CMD_AJP13_SEND_BODY_CHUNK

#define CMD_AJP13_SEND_BODY_CHUNK   (unsigned char)3

Write a body chunk from the servlet container to the web server

◆ CMD_AJP13_SEND_HEADERS

#define CMD_AJP13_SEND_HEADERS   (unsigned char)4

Send response headers from the servlet container to the web server.

◆ CMD_AJP13_SHUTDOWN

#define CMD_AJP13_SHUTDOWN   (unsigned char)7

The web server asks the container to shut itself down.

◆ SC_A_ARE_DONE

#define SC_A_ARE_DONE   (unsigned char)0xFF

◆ SC_A_AUTH_TYPE

#define SC_A_AUTH_TYPE   (unsigned char)4

◆ SC_A_CONTEXT

#define SC_A_CONTEXT   (unsigned char)1

◆ SC_A_JVM_ROUTE

#define SC_A_JVM_ROUTE   (unsigned char)6

◆ SC_A_QUERY_STRING

#define SC_A_QUERY_STRING   (unsigned char)5

◆ SC_A_REMOTE_USER

#define SC_A_REMOTE_USER   (unsigned char)3

◆ SC_A_REQ_ATTRIBUTE

#define SC_A_REQ_ATTRIBUTE   (unsigned char)10

◆ SC_A_REQ_LOCAL_ADDR

#define SC_A_REQ_LOCAL_ADDR   ("AJP_LOCAL_ADDR")

◆ SC_A_REQ_REMOTE_PORT

#define SC_A_REQ_REMOTE_PORT   ("AJP_REMOTE_PORT")

◆ SC_A_SECRET

#define SC_A_SECRET   (unsigned char)12

◆ SC_A_SERVLET_PATH

#define SC_A_SERVLET_PATH   (unsigned char)2

◆ SC_A_SSL_CERT

#define SC_A_SSL_CERT   (unsigned char)7

◆ SC_A_SSL_CIPHER

#define SC_A_SSL_CIPHER   (unsigned char)8

◆ SC_A_SSL_KEY_SIZE

#define SC_A_SSL_KEY_SIZE   (unsigned char)11 /* only in if JkOptions +ForwardKeySize */

◆ SC_A_SSL_PROTOCOL

#define SC_A_SSL_PROTOCOL   ("AJP_SSL_PROTOCOL")

◆ SC_A_SSL_SESSION

#define SC_A_SSL_SESSION   (unsigned char)9

◆ SC_A_STORED_METHOD

#define SC_A_STORED_METHOD   (unsigned char)13

◆ SC_ACCEPT

#define SC_ACCEPT   (unsigned short)0xA001

◆ SC_ACCEPT_CHARSET

#define SC_ACCEPT_CHARSET   (unsigned short)0xA002

◆ SC_ACCEPT_ENCODING

#define SC_ACCEPT_ENCODING   (unsigned short)0xA003

◆ SC_ACCEPT_LANGUAGE

#define SC_ACCEPT_LANGUAGE   (unsigned short)0xA004

◆ SC_AUTHORIZATION

#define SC_AUTHORIZATION   (unsigned short)0xA005

◆ SC_CONNECTION

#define SC_CONNECTION   (unsigned short)0xA006

◆ SC_CONTENT_LENGTH

#define SC_CONTENT_LENGTH   (unsigned short)0xA008

◆ SC_CONTENT_TYPE

#define SC_CONTENT_TYPE   (unsigned short)0xA007

◆ SC_COOKIE

#define SC_COOKIE   (unsigned short)0xA009

◆ SC_COOKIE2

#define SC_COOKIE2   (unsigned short)0xA00A

◆ SC_HOST

#define SC_HOST   (unsigned short)0xA00B

◆ SC_M_ACL

#define SC_M_ACL   (unsigned char)15

◆ SC_M_BASELINE_CONTROL

#define SC_M_BASELINE_CONTROL   (unsigned char)26

◆ SC_M_CHECKIN

#define SC_M_CHECKIN   (unsigned char)18

◆ SC_M_CHECKOUT

#define SC_M_CHECKOUT   (unsigned char)19

◆ SC_M_COPY

#define SC_M_COPY   (unsigned char)11

◆ SC_M_DELETE

#define SC_M_DELETE   (unsigned char)6

◆ SC_M_GET

#define SC_M_GET   (unsigned char)2

◆ SC_M_HEAD

#define SC_M_HEAD   (unsigned char)3

◆ SC_M_JK_STORED

#define SC_M_JK_STORED   (unsigned char)0xFF

◆ SC_M_LABEL

#define SC_M_LABEL   (unsigned char)24

◆ SC_M_LOCK

#define SC_M_LOCK   (unsigned char)13

◆ SC_M_MERGE

#define SC_M_MERGE   (unsigned char)25

◆ SC_M_MKACTIVITY

#define SC_M_MKACTIVITY   (unsigned char)27

◆ SC_M_MKCOL

#define SC_M_MKCOL   (unsigned char)10

◆ SC_M_MKWORKSPACE

#define SC_M_MKWORKSPACE   (unsigned char)22

◆ SC_M_MOVE

#define SC_M_MOVE   (unsigned char)12

◆ SC_M_OPTIONS

#define SC_M_OPTIONS   (unsigned char)1

◆ SC_M_POST

#define SC_M_POST   (unsigned char)4

◆ SC_M_PROPFIND

#define SC_M_PROPFIND   (unsigned char)8

◆ SC_M_PROPPATCH

#define SC_M_PROPPATCH   (unsigned char)9

◆ SC_M_PUT

#define SC_M_PUT   (unsigned char)5

◆ SC_M_REPORT

#define SC_M_REPORT   (unsigned char)16

◆ SC_M_SEARCH

#define SC_M_SEARCH   (unsigned char)21

◆ SC_M_TRACE

#define SC_M_TRACE   (unsigned char)7

◆ SC_M_UNCHECKOUT

#define SC_M_UNCHECKOUT   (unsigned char)20

◆ SC_M_UNLOCK

#define SC_M_UNLOCK   (unsigned char)14

◆ SC_M_UPDATE

#define SC_M_UPDATE   (unsigned char)23

◆ SC_M_VERSION_CONTROL

#define SC_M_VERSION_CONTROL   (unsigned char)17

◆ SC_PRAGMA

#define SC_PRAGMA   (unsigned short)0xA00C

◆ SC_REFERER

#define SC_REFERER   (unsigned short)0xA00D

◆ SC_RES_HEADERS_NUM

#define SC_RES_HEADERS_NUM   11

◆ SC_RESP_CONTENT_LANGUAGE

#define SC_RESP_CONTENT_LANGUAGE   (unsigned short)0xA002

◆ SC_RESP_CONTENT_LENGTH

#define SC_RESP_CONTENT_LENGTH   (unsigned short)0xA003

◆ SC_RESP_CONTENT_TYPE

#define SC_RESP_CONTENT_TYPE   (unsigned short)0xA001

◆ SC_RESP_DATE

#define SC_RESP_DATE   (unsigned short)0xA004

◆ SC_RESP_LAST_MODIFIED

#define SC_RESP_LAST_MODIFIED   (unsigned short)0xA005

◆ SC_RESP_LOCATION

#define SC_RESP_LOCATION   (unsigned short)0xA006

◆ SC_RESP_SERVLET_ENGINE

#define SC_RESP_SERVLET_ENGINE   (unsigned short)0xA009

◆ SC_RESP_SET_COOKIE

#define SC_RESP_SET_COOKIE   (unsigned short)0xA007

◆ SC_RESP_SET_COOKIE2

#define SC_RESP_SET_COOKIE2   (unsigned short)0xA008

◆ SC_RESP_STATUS

#define SC_RESP_STATUS   (unsigned short)0xA00A

◆ SC_RESP_WWW_AUTHENTICATE

#define SC_RESP_WWW_AUTHENTICATE   (unsigned short)0xA00B

◆ SC_USER_AGENT

#define SC_USER_AGENT   (unsigned short)0xA00E

Typedef Documentation

◆ ajp_msg_t

typedef struct ajp_msg ajp_msg_t

A structure that represents ajp message