]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
A more helpful error if we run out of jobs
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 24 Jun 2021 18:47:38 +0000 (13:47 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 24 Jun 2021 18:47:38 +0000 (13:47 -0500)
src/lib/tls/session.c

index 6a1f3d88dc81c38137a1605edcbc43148c0167b6..e049bea60ea0880f8cd1760020a4fd895568e7bf 100644 (file)
@@ -1324,6 +1324,10 @@ static unlang_action_t tls_session_async_handshake_cont(rlm_rcode_t *p_result, i
                }
        }
 
+       case SSL_ERROR_WANT_ASYNC_JOB:
+               RERROR("No async jobs available in pool, increase thread.openssl_async_pool_max");
+               goto error;
+
        default:
                /*
                 *      Returns 0 if we can continue processing the handshake