Skip to content

Commit 9a6116f

Browse files
committed
Implement flush for InternalStream
1 parent a2667fd commit 9a6116f

1 file changed

Lines changed: 7 additions & 0 deletions

File tree

lib.rs

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -314,6 +314,13 @@ impl Writer for InternalStream {
314314
Ssl(ref mut s) => s.write(buf)
315315
}
316316
}
317+
318+
fn flush(&mut self) {
319+
match *self {
320+
Normal(ref mut s) => s.flush(),
321+
Ssl(ref mut s) => s.flush()
322+
}
323+
}
317324
}
318325

319326
struct InnerPostgresConnection {

0 commit comments

Comments
 (0)