-*- coding: utf-8 -*-
Changes with Apache 2.5.1
+ *) mod_proxy_hcheck: Detect AJP/CPING support correctly. PR 66300.
+ [Alessandro Cavaliere <alessandro.cavalier7 unibo.it>]
+
*) mod_proxy_hcheck: hcmethod now allows for HTTP/1.1 requests
using GET11, HEAD11 and/or OPTIONS11. [Jim Jagielski]
hctp = NULL;
tpsize = HC_THREADPOOL_SIZE;
#endif
+
+ ajp_handle_cping_cpong = APR_RETRIEVE_OPTIONAL_FN(ajp_handle_cping_cpong);
+ if (ajp_handle_cping_cpong) {
+ proxy_hcmethods_t *method = proxy_hcmethods;
+ for (; method->name; method++) {
+ if (method->method == CPING) {
+ method->implemented = 1;
+ break;
+ }
+ }
+ }
+
return OK;
}
static int hc_post_config(apr_pool_t *p, apr_pool_t *plog,
s = s->next;
}
- ajp_handle_cping_cpong = APR_RETRIEVE_OPTIONAL_FN(ajp_handle_cping_cpong);
- if (ajp_handle_cping_cpong) {
- proxy_hcmethods_t *method = proxy_hcmethods;
- for (; method->name; method++) {
- if (method->method == CPING) {
- method->implemented = 1;
- break;
- }
- }
- }
-
return OK;
}