kore

a fork of the worlds most advanced web framework
Log | Files | Refs | README | LICENSE

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:
Mexamples/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; }