aboutsummaryrefslogtreecommitdiff
path: root/network/protocol/v0v1/server/session.go
diff options
context:
space:
mode:
authorGravatar Runxi Yu2026-03-29 03:46:47 +0000
committerGravatar Runxi Yu2026-03-29 03:46:47 +0000
commit95e5a88404083597340fd76d9e83707f45103bf9 (patch)
tree0d96476992496d8d679bda9db29baf708862554b /network/protocol/v0v1/server/session.go
parentnetwork/protocol: Deps-Borrowed where appropriate (diff)
signatureNo signature
network/protocol: Constructors get Life-Parent too
Diffstat (limited to 'network/protocol/v0v1/server/session.go')
-rw-r--r--network/protocol/v0v1/server/session.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/network/protocol/v0v1/server/session.go b/network/protocol/v0v1/server/session.go
index bdc2d785..5d00b373 100644
--- a/network/protocol/v0v1/server/session.go
+++ b/network/protocol/v0v1/server/session.go
@@ -28,7 +28,7 @@ type Session struct {
// NewSession creates one v0/v1 server session over r and w.
//
-// Labels: Deps-Borrowed.
+// Labels: Deps-Borrowed, Life-Parent.
func NewSession(r io.Reader, w iowrap.WriteFlusher, opts Options) *Session {
return &Session{
dec: pktline.NewDecoder(r, pktline.ReadOptions{}),