mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2025-09-22 14:21:25 +02:00
MINOR: ssl: Remove dead code.
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.
This commit is contained in:
parent
3139c1b198
commit
6d53cd6978
@ -5981,8 +5981,6 @@ static int ssl_sock_init(struct connection *conn, void **xprt_ctx)
|
|||||||
*xprt_ctx = ctx;
|
*xprt_ctx = ctx;
|
||||||
/* Start the handshake */
|
/* Start the handshake */
|
||||||
tasklet_wakeup(ctx->wait_event.tasklet);
|
tasklet_wakeup(ctx->wait_event.tasklet);
|
||||||
if (conn->flags & CO_FL_ERROR)
|
|
||||||
goto err;
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
else if (objt_listener(conn->target)) {
|
else if (objt_listener(conn->target)) {
|
||||||
@ -6048,8 +6046,6 @@ static int ssl_sock_init(struct connection *conn, void **xprt_ctx)
|
|||||||
*xprt_ctx = ctx;
|
*xprt_ctx = ctx;
|
||||||
/* Start the handshake */
|
/* Start the handshake */
|
||||||
tasklet_wakeup(ctx->wait_event.tasklet);
|
tasklet_wakeup(ctx->wait_event.tasklet);
|
||||||
if (conn->flags & CO_FL_ERROR)
|
|
||||||
goto err;
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
/* don't know how to handle such a target */
|
/* don't know how to handle such a target */
|
||||||
|
Loading…
x
Reference in New Issue
Block a user