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

Function md_http_clone

modules/md/md_http.c:95–112  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

93}
94
95apr_status_t md_http_clone(md_http_t **phttp,
96 apr_pool_t *p, md_http_t *source_http)
97{
98 apr_status_t rv;
99
100 rv = md_http_create(phttp, p, source_http->user_agent, source_http->proxy_url);
101 if (APR_SUCCESS == rv) {
102 (*phttp)->resp_limit = source_http->resp_limit;
103 (*phttp)->timeout = source_http->timeout;
104 if (source_http->unix_socket_path) {
105 (*phttp)->unix_socket_path = apr_pstrdup(p, source_http->unix_socket_path);
106 }
107 if (source_http->ca_file) {
108 (*phttp)->ca_file = apr_pstrdup(p, source_http->ca_file);
109 }
110 }
111 return rv;
112}
113
114void md_http_set_impl_data(md_http_t *http, void *data)
115{

Callers 1

md_curl_multi_performFunction · 0.85

Calls 1

md_http_createFunction · 0.85

Tested by

no test coverage detected