diff --git a/lib.rs b/lib.rs index 361cad86..5e2acfc7 100644 --- a/lib.rs +++ b/lib.rs @@ -314,6 +314,13 @@ impl Writer for InternalStream { Ssl(ref mut s) => s.write(buf) } } + + fn flush(&mut self) { + match *self { + Normal(ref mut s) => s.flush(), + Ssl(ref mut s) => s.flush() + } + } } struct InnerPostgresConnection {