Now that we don't call the handshake function directly, but merely wake
the tasklet, we can no longer have CO_FL_ERR, so don't bother checking it.
*xprt_ctx = ctx;
/* Start the handshake */
tasklet_wakeup(ctx->wait_event.tasklet);
- if (conn->flags & CO_FL_ERROR)
- goto err;
return 0;
}
else if (objt_listener(conn->target)) {
*xprt_ctx = ctx;
/* Start the handshake */
tasklet_wakeup(ctx->wait_event.tasklet);
- if (conn->flags & CO_FL_ERROR)
- goto err;
return 0;
}
/* don't know how to handle such a target */