From 3d075fad7496ec126c5087d1c36ab7a4af73ce16 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Mon, 22 Jan 2018 14:05:10 -0800 Subject: fixes #219 transports should take URL structure instead of string address This eliminates a bunch of redundant URL parsing, using the common URL logic we already have in place. While here I fixed a problem with the TLS and WSS test suites that was failing on older Ubuntu -- apparently older versions of mbedTLS were unhappy if selecting OPTIONAL verification without a validate certificate chain. --- src/core/nng_impl.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/core/nng_impl.h') diff --git a/src/core/nng_impl.h b/src/core/nng_impl.h index ea8512bb..5c750ec7 100644 --- a/src/core/nng_impl.h +++ b/src/core/nng_impl.h @@ -44,10 +44,13 @@ #include "core/taskq.h" #include "core/thread.h" #include "core/timer.h" -#include "core/transport.h" #include "core/url.h" +// transport needs to come after url +#include "core/transport.h" + // These have to come after the others - particularly transport.h + #include "core/endpt.h" #include "core/pipe.h" #include "core/socket.h" -- cgit v1.2.3-70-g09d2