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

Function get_data

modules/proxy/mod_proxy_fcgi.c:288–299  ·  view source on GitHub ↗

Wrapper for apr_socket_recv that handles updating the worker stats. */

Source from the content-addressed store, hash-verified

286
287/* Wrapper for apr_socket_recv that handles updating the worker stats. */
288static apr_status_t get_data(proxy_conn_rec *conn,
289 char *buffer,
290 apr_size_t *buflen)
291{
292 apr_status_t rv = apr_socket_recv(conn->sock, buffer, buflen);
293
294 if (rv == APR_SUCCESS) {
295 conn->worker->s->read += *buflen;
296 }
297
298 return rv;
299}
300
301static apr_status_t get_data_full(proxy_conn_rec *conn,
302 char *buffer,

Callers 2

get_data_fullFunction · 0.85
dispatchFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected