if (unlikely(check->result == CHK_RES_FAILED))
goto out_wakeup;
- if (conn->flags & CO_FL_HANDSHAKE) {
- if (!(conn->flags & CO_FL_ERROR))
- cs->conn->mux->subscribe(cs, SUB_RETRY_SEND, &check->wait_list);
- goto out;
- }
-
if (retrieve_errno_from_socket(conn)) {
chk_report_conn_err(check, errno, 0);
goto out_wakeup;
if (unlikely(check->result == CHK_RES_FAILED))
goto out_wakeup;
- if (conn->flags & CO_FL_HANDSHAKE) {
- if (!(conn->flags & CO_FL_ERROR))
- cs->conn->mux->subscribe(cs, SUB_RETRY_RECV, &check->wait_list);
- goto out;
- }
-
/* wake() will take care of calling tcpcheck_main() */
if (check->type == PR_O2_TCPCHK_CHK)
goto out;
{
size_t ret;
- if (cs->conn->flags & CO_FL_HANDSHAKE)
- return 0;
ret = cs->conn->xprt->snd_buf(cs->conn, cs->conn->xprt_ctx, buf, count, flags);
if (ret > 0)