diff --git a/src/backend.c b/src/backend.c index 2a5924730..ba968198e 100644 --- a/src/backend.c +++ b/src/backend.c @@ -1407,6 +1407,10 @@ int connect_server(struct stream *s) srv->mux_proto || s->be->mode != PR_MODE_HTTP)) #endif init_mux = 1; +#if defined(USE_OPENSSL) && defined(TLSEXT_TYPE_application_layer_protocol_negotiation) + else + srv_conn->owner = s->sess; +#endif /* process the case where the server requires the PROXY protocol to be sent */ srv_conn->send_proxy_ofs = 0;