mirror of
https://github.com/jorisvink/kore
synced 2025-03-10 04:59:02 -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. */
|
/* Figure out what backend to use. */
|
||||||
for (i = 0; backends[i].name != NULL; i++) {
|
for (i = 0; backends[i].name != NULL; i++) {
|
||||||
if (!strcasecmp(backends[i].name,
|
if (!strcasecmp(backends[i].name, name))
|
||||||
c->ssl->session->tlsext_hostname))
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user