Apache2
|
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 |
#define AJP13_DEF_HOST "127.0.0.1" |
#define AJP13_DEF_PORT 8009 |
#define AJP13_HTTPS_INDICATOR "HTTPS" |
#define AJP13_MAX_SEND_BODY_SZ (AJP_MAX_BUFFER_SZ - AJP_HEADER_SZ) |
#define AJP13_SSL_CIPHER_INDICATOR "SSL_CIPHER" |
#define AJP13_SSL_CLIENT_CERT_INDICATOR "SSL_CLIENT_CERT" |
#define AJP13_SSL_KEY_SIZE_INDICATOR "SSL_CIPHER_USEKEYSIZE" |
#define AJP13_SSL_PROTOCOL_INDICATOR "SSL_PROTOCOL" |
#define AJP13_SSL_SESSION_INDICATOR "SSL_SESSION_ID" |
#define AJP13_WS_HEADER 0x1234 |
Signature for the messages sent from Apache to tomcat
#define AJP_EBAD_HEADER (APR_OS_START_USERERR + 7) |
Bad message header
#define AJP_EBAD_MESSAGE (APR_OS_START_USERERR + 8) |
Bad message
#define AJP_EBAD_SIGNATURE (APR_OS_START_USERERR + 4) |
Bad message signature
#define AJP_EINVAL (APR_OS_START_USERERR + 3) |
Invalid input parameters
#define AJP_ELOGFAIL (APR_OS_START_USERERR + 9) |
Cant log via AJP14
#define AJP_ENO_HEADER (APR_OS_START_USERERR + 6) |
Missing message header
#define AJP_EOVERFLOW (APR_OS_START_USERERR + 1) |
AJP Specific error codes Buffer overflow exception
#define AJP_ETOBIG (APR_OS_START_USERERR + 5) |
Incoming message too bg
#define AJP_ETOSMALL (APR_OS_START_USERERR + 2) |
Destination Buffer is to small
#define AJP_HEADER_LEN 4 |
#define AJP_HEADER_SZ 6 |
#define AJP_HEADER_SZ_LEN 2 |
#define AJP_MAX_BUFFER_SZ 65536 |
#define AJP_MSG_BUFFER_SZ 8192 |
#define AJP_PING_PONG_SZ 128 |
#define APR_WANT_STRFUNC |
#define CMD_AJP13_CPING (unsigned char)10 |
Webserver check if container is alive, since container should respond by cpong
#define CMD_AJP13_CPONG (unsigned char)9 |
Container response to cping request
#define CMD_AJP13_END_RESPONSE (unsigned char)5 |
Marks the end of response.
#define CMD_AJP13_FORWARD_REQUEST (unsigned char)2 |
Send a request from web server to container
#define CMD_AJP13_GET_BODY_CHUNK (unsigned char)6 |
Get further data from the web server if it hasn't all been transferred yet.
#define CMD_AJP13_PING (unsigned char)8 |
Webserver ask container to take control (logon phase)
#define CMD_AJP13_SEND_BODY_CHUNK (unsigned char)3 |
Write a body chunk from the servlet container to the web server
#define CMD_AJP13_SEND_HEADERS (unsigned char)4 |
Send response headers from the servlet container to the web server.
#define CMD_AJP13_SHUTDOWN (unsigned char)7 |
The web server asks the container to shut itself down.
#define SC_A_ARE_DONE (unsigned char)0xFF |
#define SC_A_AUTH_TYPE (unsigned char)4 |
#define SC_A_CONTEXT (unsigned char)1 |
#define SC_A_JVM_ROUTE (unsigned char)6 |
#define SC_A_QUERY_STRING (unsigned char)5 |
#define SC_A_REMOTE_USER (unsigned char)3 |
#define SC_A_REQ_ATTRIBUTE (unsigned char)10 |
#define SC_A_REQ_LOCAL_ADDR ("AJP_LOCAL_ADDR") |
#define SC_A_REQ_REMOTE_PORT ("AJP_REMOTE_PORT") |
#define SC_A_SECRET (unsigned char)12 |
#define SC_A_SERVLET_PATH (unsigned char)2 |
#define SC_A_SSL_CERT (unsigned char)7 |
#define SC_A_SSL_CIPHER (unsigned char)8 |
#define SC_A_SSL_KEY_SIZE (unsigned char)11 /* only in if JkOptions +ForwardKeySize */ |
#define SC_A_SSL_PROTOCOL ("AJP_SSL_PROTOCOL") |
#define SC_A_SSL_SESSION (unsigned char)9 |
#define SC_A_STORED_METHOD (unsigned char)13 |
#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_LENGTH (unsigned short)0xA008 |
#define SC_CONTENT_TYPE (unsigned short)0xA007 |
#define SC_COOKIE (unsigned short)0xA009 |
#define SC_COOKIE2 (unsigned short)0xA00A |
#define SC_HOST (unsigned short)0xA00B |
#define SC_M_ACL (unsigned char)15 |
#define SC_M_BASELINE_CONTROL (unsigned char)26 |
#define SC_M_CHECKIN (unsigned char)18 |
#define SC_M_CHECKOUT (unsigned char)19 |
#define SC_M_COPY (unsigned char)11 |
#define SC_M_DELETE (unsigned char)6 |
#define SC_M_GET (unsigned char)2 |
#define SC_M_HEAD (unsigned char)3 |
#define SC_M_JK_STORED (unsigned char)0xFF |
#define SC_M_LABEL (unsigned char)24 |
#define SC_M_LOCK (unsigned char)13 |
#define SC_M_MERGE (unsigned char)25 |
#define SC_M_MKACTIVITY (unsigned char)27 |
#define SC_M_MKCOL (unsigned char)10 |
#define SC_M_MKWORKSPACE (unsigned char)22 |
#define SC_M_MOVE (unsigned char)12 |
#define SC_M_OPTIONS (unsigned char)1 |
#define SC_M_POST (unsigned char)4 |
#define SC_M_PROPFIND (unsigned char)8 |
#define SC_M_PROPPATCH (unsigned char)9 |
#define SC_M_PUT (unsigned char)5 |
#define SC_M_REPORT (unsigned char)16 |
#define SC_M_SEARCH (unsigned char)21 |
#define SC_M_TRACE (unsigned char)7 |
#define SC_M_UNCHECKOUT (unsigned char)20 |
#define SC_M_UNLOCK (unsigned char)14 |
#define SC_M_UPDATE (unsigned char)23 |
#define SC_M_VERSION_CONTROL (unsigned char)17 |
#define SC_PRAGMA (unsigned short)0xA00C |
#define SC_REFERER (unsigned short)0xA00D |
#define SC_RES_HEADERS_NUM 11 |
#define SC_RESP_CONTENT_LANGUAGE (unsigned short)0xA002 |
#define SC_RESP_CONTENT_LENGTH (unsigned short)0xA003 |
#define SC_RESP_CONTENT_TYPE (unsigned short)0xA001 |
#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_SERVLET_ENGINE (unsigned short)0xA009 |
#define SC_RESP_SET_COOKIE (unsigned short)0xA007 |
#define SC_RESP_SET_COOKIE2 (unsigned short)0xA008 |
#define SC_RESP_STATUS (unsigned short)0xA00A |
#define SC_RESP_WWW_AUTHENTICATE (unsigned short)0xA00B |
#define SC_USER_AGENT (unsigned short)0xA00E |