goto out_wakeup;
}
- if (conn->flags & CO_FL_SOCK_WR_SH) {
- /* if the output is closed, we can't do anything */
- conn->flags |= CO_FL_ERROR;
- chk_report_conn_err(check, 0, 0);
- goto out_wakeup;
- }
-
/* here, we know that the connection is established. That's enough for
* a pure TCP check.
*/
b_reset(&check->bi);
}
- if (conn->flags & CO_FL_SOCK_WR_SH) {
- conn->flags |= CO_FL_ERROR;
- chk_report_conn_err(check, 0, 0);
- goto out_end_tcpcheck;
- }
-
if (check->current_step->string_len >= b_size(&check->bo)) {
chunk_printf(&trash, "tcp-check send : string too large (%d) for buffer size (%u) at step %d",
check->current_step->string_len, (unsigned int)b_size(&check->bo),
return 0;
/* we might have been called just after an asynchronous shutw */
- if (conn->flags & CO_FL_SOCK_WR_SH || oc->flags & CF_SHUTW)
+ if (oc->flags & CF_SHUTW)
return 1;
if (oc->pipe && conn->xprt->snd_pipe && conn->mux->snd_pipe) {