summaryrefslogtreecommitdiff
path: root/cmd/gitlab-shell/main.go
diff options
context:
space:
mode:
authorWill Chandler <wchandler@gitlab.com>2021-12-22 13:30:21 -0500
committerWill Chandler <wchandler@gitlab.com>2021-12-22 14:00:15 -0500
commit922bb8ff61578a68126ba215e94e0c3d4c34bbf9 (patch)
treeb717250cdb4aec4460941a304959769bdf8b438d /cmd/gitlab-shell/main.go
parent2941910e8c3b76cdede7d4ba113e70e906e4aadf (diff)
downloadgitlab-shell-922bb8ff61578a68126ba215e94e0c3d4c34bbf9.tar.gz
Send full git request/response in SSHD testswc-sshd-upload-pack
Before 9deaf47f1ecb00f0f36d18ee4a0fb1576f5a0efe, Gitaly would return success for `SSHUploadPack` and `SSHUploadArchive` regardless of the exit code of the `git upload-pack|archive` process. As a result, the gitlab-sshd acceptance tests could rely on no errors being returned from Gitaly. Currently these tests send the minimum request needed to start a session, causing the server git process to fail as the `0000` flush packet to end the session is never sent. This commit fixes the tests by sending the full request/response needed for a successful git operation.
Diffstat (limited to 'cmd/gitlab-shell/main.go')
0 files changed, 0 insertions, 0 deletions