Skip to content
Snippets Groups Projects
Commit c0f42027 authored by Deucе's avatar Deucе :ok_hand_tone4:
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
No related branches found
No related tags found
1 merge request!463MRC mods by Codefenix (2024-10-20)
Pipeline #2821 passed
......@@ -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 {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment