* Allocate a msg to send data */
| 878 | * Allocate a msg to send data |
| 879 | */ |
| 880 | apr_status_t ajp_alloc_data_msg(apr_pool_t *pool, char **ptr, apr_size_t *len, |
| 881 | ajp_msg_t **msg) |
| 882 | { |
| 883 | apr_status_t rc; |
| 884 | |
| 885 | if ((rc = ajp_msg_create(pool, *len, msg)) != APR_SUCCESS) |
| 886 | return rc; |
| 887 | ajp_msg_reset(*msg); |
| 888 | *ptr = (char *)&((*msg)->buf[6]); |
| 889 | *len = *len - 6; |
| 890 | |
| 891 | return APR_SUCCESS; |
| 892 | } |
| 893 | |
| 894 | /* |
| 895 | * Send the data message |
no test coverage detected