From f9a46854ac99301b97a9e1843e2153578a930a98 Mon Sep 17 00:00:00 2001 From: Nathan Skrzypczak Date: Tue, 16 Jul 2019 10:58:58 +0200 Subject: quic: Add back stream connect condition Type: fix This is needed for VCL patch in the case the Qsession handle we connect to is 0. A better way to do this would be to add a u16 header to the transport_opts, as session_handles are : But this requires modifying all clients. Change-Id: If171bcf982eba3bd705b586c9fd4a6c2ad0e114b Signed-off-by: Nathan Skrzypczak --- src/plugins/quic/quic.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/plugins/quic') diff --git a/src/plugins/quic/quic.c b/src/plugins/quic/quic.c index 6c1a3c37bd5..39e460e1ac8 100644 --- a/src/plugins/quic/quic.c +++ b/src/plugins/quic/quic.c @@ -1495,7 +1495,7 @@ quic_connect (transport_endpoint_cfg_t * tep) QUIC_DBG (2, "Called quic_connect"); session_endpoint_cfg_t *sep = (session_endpoint_cfg_t *) tep; sep = (session_endpoint_cfg_t *) tep; - if (sep->transport_opts) + if (sep->port == 0) /* TODO add mask on transport_opts */ return quic_connect_new_stream (sep); else return quic_connect_new_connection (sep); -- cgit 1.2.3-korg