diff options
author | Ayman Bagabas <ayman.bagabas@gmail.com> | 2024-04-26 18:39:34 -0400 |
---|---|---|
committer | Ayman Bagabas <ayman.bagabas@gmail.com> | 2024-04-26 18:56:12 -0400 |
commit | 59b792bf8a814ad5d7810c51a18e9f618153ace8 (patch) | |
tree | 9f64982e8e218f7a29512224d183e9d96eb731fb /plumbing/transport/client/example_test.go | |
parent | 1ddd78a55f803c9ed0fac6a56d201271fef21eeb (diff) | |
download | go-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/client/example_test.go')
0 files changed, 0 insertions, 0 deletions