mirror of
https://github.com/jorisvink/kore
synced 2025-03-09 12:39:01 -04:00
use name instead of c->ssl->session things
This commit is contained in:
parent
12fc1396c1
commit
b8ceab37bf
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user