diff options
author | Dustin Frisch <fooker@lab.sh> | 2020-11-11 03:36:14 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-11-10 21:36:14 -0500 |
commit | 17651193edad67f10f9e139d5b86b2d31665c0a6 (patch) | |
tree | 68fdefc01598b94a72dcb9ff5d29edd151332c64 | |
parent | 49afd94f8d084ac028920c1785b2ddb05c13bef3 (diff) |
Enable streaming results over UNIX sockets (#166) (#238)
-rw-r--r-- | src/transport.rs | 8 |
1 files changed, 0 insertions, 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<Body>, { - 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, |