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

Function ajp_send_data_msg

modules/proxy/ajp_header.c:897–908  ·  view source on GitHub ↗

* Send the data message */

Source from the content-addressed store, hash-verified

895 * Send the data message
896 */
897apr_status_t ajp_send_data_msg(apr_socket_t *sock,
898 ajp_msg_t *msg, apr_size_t len)
899{
900
901 msg->buf[4] = (apr_byte_t)((len >> 8) & 0xFF);
902 msg->buf[5] = (apr_byte_t)(len & 0xFF);
903
904 msg->len += len + 2; /* + 1 XXXX where is '\0' */
905
906 return ajp_ilink_send(sock, msg);
907
908}

Callers 1

ap_proxy_ajp_requestFunction · 0.85

Calls 1

ajp_ilink_sendFunction · 0.85

Tested by

no test coverage detected