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

Function get_data_full

modules/proxy/mod_proxy_fcgi.c:301–319  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

299}
300
301static apr_status_t get_data_full(proxy_conn_rec *conn,
302 char *buffer,
303 apr_size_t buflen)
304{
305 apr_size_t readlen;
306 apr_size_t cumulative_len = 0;
307 apr_status_t rv;
308
309 do {
310 readlen = buflen - cumulative_len;
311 rv = get_data(conn, buffer + cumulative_len, &readlen);
312 if (rv != APR_SUCCESS) {
313 return rv;
314 }
315 cumulative_len += readlen;
316 } while (cumulative_len < buflen);
317
318 return APR_SUCCESS;
319}
320
321static apr_status_t send_begin_request(proxy_conn_rec *conn,
322 apr_uint16_t request_id)

Callers 1

dispatchFunction · 0.85

Calls 1

get_dataFunction · 0.85

Tested by

no test coverage detected