No need to explicitly flush
This commit is contained in:
parent
9466dfed2d
commit
94841285a2
@ -164,7 +164,6 @@ impl Connection {
|
|||||||
result
|
result
|
||||||
.into_future()
|
.into_future()
|
||||||
.and_then(move |()| self.0.send(buf))
|
.and_then(move |()| self.0.send(buf))
|
||||||
.and_then(|s| s.flush())
|
|
||||||
.map_err(ConnectError::Io)
|
.map_err(ConnectError::Io)
|
||||||
.map(move |s| (Connection(s), params))
|
.map(move |s| (Connection(s), params))
|
||||||
.boxed()
|
.boxed()
|
||||||
|
Loading…
Reference in New Issue
Block a user