* All our process initialiser does is add its trace to the log. * * This is a VOID hook: all defined handlers get called. */
| 849 | * This is a VOID hook: all defined handlers get called. |
| 850 | */ |
| 851 | static void x_child_init(apr_pool_t *p, server_rec *s) |
| 852 | { |
| 853 | char *note; |
| 854 | char *sname = s->server_hostname; |
| 855 | |
| 856 | /* |
| 857 | * The arbitrary text we add to our trace entry indicates for which server |
| 858 | * we're being called. |
| 859 | */ |
| 860 | sname = (sname != NULL) ? sname : ""; |
| 861 | note = apr_pstrcat(p, "x_child_init(", sname, ")", NULL); |
| 862 | trace_startup(p, s, NULL, note); |
| 863 | |
| 864 | apr_pool_cleanup_register(p, s, x_child_exit, x_child_exit); |
| 865 | } |
| 866 | |
| 867 | /* |
| 868 | * The hook runner for ap_hook_http_scheme is aliased to ap_http_scheme(), |
nothing calls this directly
no test coverage detected