{
h2_session *session;
+ ap_log_cerror(APLOG_MARK, APLOG_DEBUG, 0, c, "setup");
if (!workers) {
ap_log_cerror(APLOG_MARK, APLOG_ERR, 0, c, APLOGNO(02911)
"workers not initialized");
session->c->cs->sense = CONN_SENSE_DEFAULT;
}
+ ap_log_cerror(APLOG_MARK, APLOG_DEBUG, 0, session->c, "process");
status = h2_session_process(session, async);
if (session->c->cs) {
int h2_ctx_is_task(h2_ctx *ctx)
{
- return ctx && !!ctx->task;
+ return ctx && ctx->task;
}
struct h2_task *h2_ctx_get_task(h2_ctx *ctx)
ap_log_cerror(APLOG_MARK, APLOG_TRACE1, 0, c, "h2_h2, process_conn");
if (h2_ctx_is_task(ctx)) {
/* our stream pseudo connection */
+ ap_log_cerror(APLOG_MARK, APLOG_TRACE2, 0, c, "h2_h2, task, declined");
return DECLINED;
}