diff options
| author | 2026-03-29 03:38:46 +0000 | |
|---|---|---|
| committer | 2026-03-29 03:38:46 +0000 | |
| commit | 1d8a2c9c89602162bd8e2715af8ed61b682855d4 (patch) | |
| tree | d89b5b8fc2e6538d44576f43ddfdc875be68552a /network | |
| parent | network/receivepack: Hook intolevel (diff) | |
| signature | No signature | |
network/protocol/v0v1/server: Add contract labels
Diffstat (limited to 'network')
| -rw-r--r-- | network/protocol/v0v1/server/receivepack/session.go | 4 | ||||
| -rw-r--r-- | network/protocol/v0v1/server/session.go | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/network/protocol/v0v1/server/receivepack/session.go b/network/protocol/v0v1/server/receivepack/session.go index b4902df4..31cf31f6 100644 --- a/network/protocol/v0v1/server/receivepack/session.go +++ b/network/protocol/v0v1/server/receivepack/session.go @@ -168,6 +168,8 @@ func (session *Session) WriteProgress(p []byte) error { // ProgressWriter returns one chunking writer for sideband progress output. // // When side-band-64k was not negotiated, writes are discarded. +// +// Labels: Life-Parent, Close-No. func (session *Session) ProgressWriter() iowrap.WriteFlusher { return session.base.ProgressWriter() } @@ -180,6 +182,8 @@ func (session *Session) WriteError(p []byte) error { // ErrorWriter returns one chunking writer for sideband error output. // // When side-band-64k was not negotiated, writes are discarded. +// +// Labels: Life-Parent, Close-No. func (session *Session) ErrorWriter() iowrap.WriteFlusher { return session.base.ErrorWriter() } diff --git a/network/protocol/v0v1/server/session.go b/network/protocol/v0v1/server/session.go index 23818014..7fc89157 100644 --- a/network/protocol/v0v1/server/session.go +++ b/network/protocol/v0v1/server/session.go @@ -100,6 +100,8 @@ func (session *Session) Flush() error { // ProgressWriter returns one chunking writer for sideband progress output. // // When side-band-64k was not negotiated, writes are discarded. +// +// Labels: Life-Parent, Close-No. func (session *Session) ProgressWriter() iowrap.WriteFlusher { if !session.useSideBand { return iowrap.NopFlush(io.Discard) @@ -111,6 +113,8 @@ func (session *Session) ProgressWriter() iowrap.WriteFlusher { // ErrorWriter returns one chunking writer for sideband error output. // // When side-band-64k was not negotiated, writes are discarded. +// +// Labels: Life-Parent, Close-No. func (session *Session) ErrorWriter() iowrap.WriteFlusher { if !session.useSideBand { return iowrap.NopFlush(io.Discard) @@ -123,6 +127,8 @@ func (session *Session) ErrorWriter() iowrap.WriteFlusher { // // When side-band-64k is enabled, writes are chunked into band-1 sideband // frames. Otherwise writes are chunked into direct pkt-line data frames. +// +// Labels: Life-Parent, Close-No. func (session *Session) PrimaryDataWriter() iowrap.WriteFlusher { if session.useSideBand { return sideband64k.NewChunkWriter(session.sideband, sideband64k.BandData) |
