kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit b8ceab37bfc5e0474a3cb9ce067421d21b30b2ec
parent 12fc1396c13ad606c299615c0918846ae44ae2c9
Author: Joris Vink <joris@coders.se>
Date:   Tue, 30 Apr 2019 21:06:27 +0200

use name instead of c->ssl->session things

Diffstat:
examples/tls-proxy/src/proxy.c | 3+--
1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/examples/tls-proxy/src/proxy.c b/examples/tls-proxy/src/proxy.c @@ -72,8 +72,7 @@ client_setup(struct connection *c) /* Figure out what backend to use. */ for (i = 0; backends[i].name != NULL; i++) { - if (!strcasecmp(backends[i].name, - c->ssl->session->tlsext_hostname)) + if (!strcasecmp(backends[i].name, name)) break; }