23#undef APLOG_MODULE_INDEX
24#define APLOG_MODULE_INDEX AP_CORE_MODULE_INDEX
106 brb->roleB1 = ((role >> 8) & 0xff);
107 brb->roleB0 = (role & 0xff);
109 brb->reserved[0] = 0;
110 brb->reserved[1] = 0;
111 brb->reserved[2] = 0;
112 brb->reserved[3] = 0;
113 brb->reserved[4] = 0;
156 vallen = elts[
i].
val ? strlen(elts[
i].
val) : 0;
158 if (vallen >> 7 == 0) {
229 vallen = elts[
i].
val ? strlen(elts[
i].
val) : 0;
231 if (vallen >> 7 == 0) {
236 itr[0] = vallen & 0xff;
245 itr[0] = ((vallen >> 24) & 0xff) | 0x80;
246 itr[1] = ((vallen >> 16) & 0xff);
247 itr[2] = ((vallen >> 8) & 0xff);
248 itr[3] = ((vallen) & 0xff);
285 "ap_fcgi_encode_env: out of space "
286 "encoding environment");
#define AP_FCGI_BRB_ROLEB1_OFFSET
void ap_fcgi_header_from_array(ap_fcgi_header *h, unsigned char a[])
#define AP_FCGI_HDR_RESERVED_OFFSET
void ap_fcgi_fill_in_header(ap_fcgi_header *header, unsigned char type, apr_uint16_t request_id, apr_uint16_t content_len, unsigned char padding_len)
#define AP_FCGI_HDR_CONTENT_LEN_B0_OFFSET
#define AP_FCGI_MAX_CONTENT_LEN
#define AP_FCGI_BRB_RESERVED3_OFFSET
#define AP_FCGI_HDR_REQUEST_ID_B1_OFFSET
apr_size_t ap_fcgi_encoded_env_len(apr_table_t *env, apr_size_t maxlen, int *starting_elem)
#define AP_FCGI_BRB_RESERVED2_OFFSET
#define AP_FCGI_VERSION_1
void ap_fcgi_fill_in_request_body(ap_fcgi_begin_request_body *brb, int role, unsigned char flags)
void ap_fcgi_header_fields_from_array(unsigned char *version, unsigned char *type, apr_uint16_t *request_id, apr_uint16_t *content_len, unsigned char *padding_len, unsigned char a[])
#define AP_FCGI_HDR_REQUEST_ID_B0_OFFSET
#define AP_FCGI_BRB_FLAGS_OFFSET
void ap_fcgi_header_to_array(ap_fcgi_header *h, unsigned char a[])
#define AP_FCGI_HDR_TYPE_OFFSET
#define AP_FCGI_HDR_VERSION_OFFSET
#define AP_FCGI_BRB_RESERVED4_OFFSET
#define AP_FCGI_BRB_RESERVED0_OFFSET
apr_status_t ap_fcgi_encode_env(request_rec *r, apr_table_t *env, void *buffer, apr_size_t buflen, int *starting_elem)
#define AP_FCGI_BRB_RESERVED1_OFFSET
#define AP_FCGI_HDR_PADDING_LEN_OFFSET
#define AP_FCGI_HDR_CONTENT_LEN_B1_OFFSET
void ap_fcgi_begin_request_body_to_array(ap_fcgi_begin_request_body *h, unsigned char a[])
#define AP_FCGI_BRB_ROLEB0_OFFSET
apr_bucket apr_bucket_brigade * a
const char apr_ssize_t int flags
char const *const char const *const ** env
This represents the content data of the FastCGI record when the type is AP_FCGI_BEGIN_REQUEST.
A structure that represents the current request.
FastCGI protocol definitions and support routines.
static size_t keylen(KEY s)