Commit c0f42027 authored by Deucе's avatar Deucе 👌🏾
Browse files

I don't know what I was smoking when I did this, but it's fixed now.

Weird early failure return on TLS sends.  Most noticible on local
(ie: fast) connections, but clearly stupid all around when you
look at the code.

Fixed, but some day, I should go back and look how we eneded up in
this mess.
parent 3944205b
Pipeline #2821 passed with stage
in 9 minutes and 38 seconds
......@@ -662,9 +662,9 @@ static int sess_sendbuf(http_session_t *session, const char *buf, size_t len, BO
HANDLE_CRYPT_CALL_EXCEPT(status = cryptFlushData(session->tls_sess), session, "flushing data", CRYPT_ERROR_COMPLETE);
if (cryptStatusError(status))
*failed=TRUE;
return tls_sent;
}
*failed=TRUE;
else
*failed=TRUE;
result = tls_sent;
}
else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment