Browse Source

Fix the SNI issue

pull/2020/head
Max Lv 7 years ago
parent
commit
dada99c5b6
1 changed files with 2 additions and 2 deletions
  1. 4
      src/local.c

4
src/local.c

@ -552,9 +552,9 @@ server_handshake(EV_P_ ev_io *w, buffer_t *buf)
if (remote == NULL) {
remote = create_remote(server->listener, NULL);
if (sni_detected
if (sni_detected && acl
#ifdef __ANDROID__
&& acl && !is_remote_dns
&& !is_remote_dns
#endif
) {
// Reconstruct address buffer

Loading…
Cancel
Save