aboutsummaryrefslogtreecommitdiffstats
path: root/plumbing/transport/internal/common/server.go
diff options
context:
space:
mode:
authorAyman Bagabas <ayman.bagabas@gmail.com>2024-04-26 18:39:34 -0400
committerAyman Bagabas <ayman.bagabas@gmail.com>2024-04-26 18:56:12 -0400
commit59b792bf8a814ad5d7810c51a18e9f618153ace8 (patch)
tree9f64982e8e218f7a29512224d183e9d96eb731fb /plumbing/transport/internal/common/server.go
parent1ddd78a55f803c9ed0fac6a56d201271fef21eeb (diff)
downloadgo-git-59b792bf8a814ad5d7810c51a18e9f618153ace8.tar.gz
plumbing: fix sideband demux on flush
Canonical Git implementation terminates the sideband stream with a flush. If the demux scanner is not terminated, it can hang the connection. Returns io.EOF when encountering a flush pkt. https://github.com/git/git/blob/master/upload-pack.c#L460
Diffstat (limited to 'plumbing/transport/internal/common/server.go')
0 files changed, 0 insertions, 0 deletions