From c0d972e779333d990e054e84c9d36a749f62b608 Mon Sep 17 00:00:00 2001 From: Andrey Borodin Date: Mon, 24 Feb 2020 15:06:13 +0500 Subject: [PATCH] Fix multiple listeners --- third_party/machinarium/sources/tls.c | 1 + 1 file changed, 1 insertion(+) diff --git a/third_party/machinarium/sources/tls.c b/third_party/machinarium/sources/tls.c index 680394cc..c5b65739 100644 --- a/third_party/machinarium/sources/tls.c +++ b/third_party/machinarium/sources/tls.c @@ -184,6 +184,7 @@ mm_tls_get_context(mm_io_t *io, int is_client) { if (ctx_container->key == io->tls) { return ctx_container->tls_ctx; } + ctx_container = ctx_container->next; } // Cached context not found - we must create ctx