MCPcopy Create free account
hub / github.com/apache/httpd / ap_fcgi_fill_in_header

Function ap_fcgi_fill_in_header

server/util_fcgi.c:81–100  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81AP_DECLARE(void) ap_fcgi_fill_in_header(ap_fcgi_header *header,
82 unsigned char type,
83 apr_uint16_t request_id,
84 apr_uint16_t content_len,
85 unsigned char padding_len)
86{
87 header->version = AP_FCGI_VERSION_1;
88
89 header->type = type;
90
91 header->requestIdB1 = ((request_id >> 8) & 0xff);
92 header->requestIdB0 = ((request_id) & 0xff);
93
94 header->contentLengthB1 = ((content_len >> 8) & 0xff);
95 header->contentLengthB0 = ((content_len) & 0xff);
96
97 header->paddingLength = padding_len;
98
99 header->reserved = 0;
100}
101
102AP_DECLARE(void) ap_fcgi_fill_in_request_body(ap_fcgi_begin_request_body *brb,
103 int role,

Callers 5

send_begin_requestFunction · 0.85
send_environmentFunction · 0.85
send_begin_requestFunction · 0.85
send_environmentFunction · 0.85
dispatchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected