Skip to content
Snippets Groups Projects
Commit 1254bfbe authored by Deucе's avatar Deucе :ok_hand_tone4:
Browse files

Temporary workaround for TLS issue.

It appears that if the timing is "just wrong", a large POST can
cause TLS to fail.  This has shown up as an inability to edit
pages in the wiki.

This is not a fix however, but simple a workaround until this is
root-caused.
parent cc189640
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
......@@ -6659,7 +6659,7 @@ void http_session_thread(void* arg)
thread_down();
return;
}
HANDLE_CRYPT_CALL(cryptSetAttribute(session.tls_sess, CRYPT_OPTION_NET_READTIMEOUT, 0), &session, "setting read timeout");
HANDLE_CRYPT_CALL(cryptSetAttribute(session.tls_sess, CRYPT_OPTION_NET_READTIMEOUT, 1), &session, "setting read timeout");
}
/* Start up the output buffer */
......
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