Skip to content

Commit

Permalink
Enable streaming results over UNIX sockets (#166) (#238)
Browse files Browse the repository at this point in the history
  • Loading branch information
fooker authored Nov 11, 2020
1 parent 49afd94 commit 1765119
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/transport.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 1765119

Please sign in to comment.