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

Function ajp_msg_serialize_ping

modules/proxy/ajp_msg.c:616–625  ·  view source on GitHub ↗

* Serialize in an AJP Message a PING command * * +-----------------------+ * | PING CMD (1 byte) | * +-----------------------+ * * @param smsg AJP message to put serialized message * @return APR_SUCCESS or error */

Source from the content-addressed store, hash-verified

614 * @return APR_SUCCESS or error
615 */
616apr_status_t ajp_msg_serialize_ping(ajp_msg_t *msg)
617{
618 apr_status_t rc;
619 ajp_msg_reset(msg);
620
621 if ((rc = ajp_msg_append_uint8(msg, CMD_AJP13_PING)) != APR_SUCCESS)
622 return rc;
623
624 return APR_SUCCESS;
625}
626
627/**
628 * Serialize in an AJP Message a CPING command

Callers

nothing calls this directly

Calls 2

ajp_msg_resetFunction · 0.85
ajp_msg_append_uint8Function · 0.85

Tested by

no test coverage detected