| 900 | } |
| 901 | |
| 902 | static int h2_c2_hook_process(conn_rec* c) |
| 903 | { |
| 904 | h2_conn_ctx_t *ctx; |
| 905 | |
| 906 | if (!c->master) { |
| 907 | return DECLINED; |
| 908 | } |
| 909 | |
| 910 | ctx = h2_conn_ctx_get(c); |
| 911 | if (ctx->stream_id) { |
| 912 | ap_log_cerror(APLOG_MARK, APLOG_TRACE1, 0, c, |
| 913 | "h2_h2, processing request directly"); |
| 914 | c2_process(ctx, c); |
| 915 | return DONE; |
| 916 | } |
| 917 | else { |
| 918 | ap_log_cerror(APLOG_MARK, APLOG_TRACE1, 0, c, |
| 919 | "secondary_conn(%ld): no h2 stream assing?", c->id); |
| 920 | } |
| 921 | return DECLINED; |
| 922 | } |
| 923 | |
| 924 | void h2_c2_register_hooks(void) |
| 925 | { |
nothing calls this directly
no test coverage detected