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

Function recv_data_full

modules/aaa/mod_authnz_fcgi.c:191–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

189}
190
191static apr_status_t recv_data_full(const fcgi_provider_conf *conf,
192 request_rec *r,
193 apr_socket_t *s,
194 char *buf,
195 apr_size_t buflen)
196{
197 apr_size_t readlen;
198 apr_size_t cumulative_len = 0;
199 apr_status_t rv;
200
201 do {
202 readlen = buflen - cumulative_len;
203 rv = recv_data(conf, r, s, buf + cumulative_len, &readlen);
204 if (rv != APR_SUCCESS) {
205 return rv;
206 }
207 cumulative_len += readlen;
208 } while (cumulative_len < buflen);
209
210 return APR_SUCCESS;
211}
212
213static apr_status_t sendv_data(const fcgi_provider_conf *conf,
214 request_rec *r,

Callers 1

handle_responseFunction · 0.85

Calls 1

recv_dataFunction · 0.85

Tested by

no test coverage detected