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

Function ajp_msg_get_uint8

modules/proxy/ajp_msg.c:482–491  ·  view source on GitHub ↗

* Get a 8bits unsigned value from AJP Message * * @param msg AJP Message to get value from * @param rvalue Pointer where value will be returned * @return APR_SUCCESS or error */

Source from the content-addressed store, hash-verified

480 * @return APR_SUCCESS or error
481 */
482apr_status_t ajp_msg_get_uint8(ajp_msg_t *msg, apr_byte_t *rvalue)
483{
484
485 if (msg->pos >= msg->len) {
486 return ajp_log_overflow(msg, "ajp_msg_get_uint8");
487 }
488
489 *rvalue = msg->buf[msg->pos++];
490 return APR_SUCCESS;
491}
492
493
494/**

Callers 4

ajp_handle_cping_cpongFunction · 0.85
ajp_parse_headerFunction · 0.85
ajp_parse_dataFunction · 0.85
ajp_parse_reuseFunction · 0.85

Calls 1

ajp_log_overflowFunction · 0.85

Tested by

no test coverage detected