mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-05-04 12:41:00 +02:00
MINOR: server: Only defined conn_complete_server if USE_OPENSSL is set.
conn_complete_server() is only used when using ALPN/NPN, so only define it if USE_OPENSSL is set.
This commit is contained in:
parent
637b695d6a
commit
c6e0bb4944
@ -1035,6 +1035,7 @@ static void assign_tproxy_address(struct stream *s)
|
||||
#endif
|
||||
}
|
||||
|
||||
#ifdef USE_OPENSSL
|
||||
/*
|
||||
* Pick the right mux once the connection is established, we should now have
|
||||
* an alpn if available, so we are now able to choose.
|
||||
@ -1069,6 +1070,7 @@ fail:
|
||||
conn_free(conn);
|
||||
return -1;
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user