diff options
Diffstat (limited to 'network/protocol/sideband64k/chunk_writer.go')
| -rw-r--r-- | network/protocol/sideband64k/chunk_writer.go | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/network/protocol/sideband64k/chunk_writer.go b/network/protocol/sideband64k/chunk_writer.go index f95f75d8..9ee4e9f8 100644 --- a/network/protocol/sideband64k/chunk_writer.go +++ b/network/protocol/sideband64k/chunk_writer.go @@ -62,3 +62,8 @@ func (cw *ChunkWriter) ReadFrom(r io.Reader) (int64, error) { } } } + +// Flush flushes buffered output in the underlying transport. +func (cw *ChunkWriter) Flush() error { + return cw.enc.Flush() +} |
