From 17651193edad67f10f9e139d5b86b2d31665c0a6 Mon Sep 17 00:00:00 2001 From: Dustin Frisch Date: Wed, 11 Nov 2020 03:36:14 +0100 Subject: Enable streaming results over UNIX sockets (#166) (#238) --- src/transport.rs | 8 -------- 1 file changed, 8 deletions(-) diff --git a/src/transport.rs b/src/transport.rs index 112d548..5a48f62 100644 --- a/src/transport.rs +++ b/src/transport.rs @@ -236,14 +236,6 @@ impl Transport { where B: Into, { - match self { - Transport::Tcp { .. } => (), - #[cfg(feature = "tls")] - Transport::EncryptedTcp { .. } => (), - #[cfg(feature = "unix-socket")] - Transport::Unix { .. } => panic!("connection streaming is only supported over TCP"), - }; - let req = self .build_request( method, -- cgit v1.2.3