From 75adda86be49e6839e50443f0bae5875d9910897 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 20 Aug 2017 10:45:27 -0700 Subject: fixes #41 Move DNS out of tcp transport This moves the DNS related functionality into common code, and also removes all the URL parsing stuff out of the platform specific code and into the transports. Now the transports just take sockaddr's on initialization. (We may want to move this until later.) We also add UDP resolution as another separate API. --- src/core/aio.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'src/core/aio.c') diff --git a/src/core/aio.c b/src/core/aio.c index fe9bcde8..5b8c7970 100644 --- a/src/core/aio.c +++ b/src/core/aio.c @@ -73,10 +73,6 @@ nni_aio_fini(nni_aio *aio) // At this point the AIO is done. nni_cv_fini(&aio->a_cv); - - if ((aio->a_naddrs != 0) && (aio->a_addrs != NULL)) { - NNI_FREE_STRUCTS(aio->a_addrs, aio->a_naddrs); - } } // nni_aio_stop cancels any oustanding operation, and waits for the -- cgit v1.2.3-70-g09d2