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

Function md_acme_problem_is_input_related

modules/md/md_acme.c:92–109  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90}
91
92int md_acme_problem_is_input_related(const char *problem) {
93 size_t i;
94
95 if (!problem) return 0;
96 if (strstr(problem, "urn:ietf:params:") == problem) {
97 problem += strlen("urn:ietf:params:");
98 }
99 else if (strstr(problem, "urn:") == problem) {
100 problem += strlen("urn:");
101 }
102
103 for(i = 0; i < (sizeof(Problems)/sizeof(Problems[0])); ++i) {
104 if (!apr_cstr_casecmp(problem, Problems[i].type)) {
105 return Problems[i].input_related;
106 }
107 }
108 return 0;
109}
110
111/**************************************************************************************************/
112/* acme requests */

Callers 1

md_job_delay_on_errorsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected