diff options
author | Masaya Suzuki <masayasuzuki@google.com> | 2019-11-08 14:40:19 -0800 |
---|---|---|
committer | Masaya Suzuki <masayasuzuki@google.com> | 2019-12-02 12:11:40 -0800 |
commit | 2d4196b966a1f55f5c97dfd0682a29cd882acc66 (patch) | |
tree | 872b7785feb43a3143cc67e32eb4765fca8575fe /org.eclipse.jgit.http.test/tst/org/eclipse/jgit | |
parent | 853098e13eb82ff3c055da128d86ee2871c77a1a (diff) | |
download | jgit-2d4196b966a1f55f5c97dfd0682a29cd882acc66.tar.gz jgit-2d4196b966a1f55f5c97dfd0682a29cd882acc66.zip |
GitSmartHttpTools: Do not use sideband when sending an error
Unlike ReceivePack, the V0/V1 UploadPack response does not support
sideband except for the packfile parts. By sending an error in a
sideband packet, the JGit client says "Expected ACK/NACK, got: ...".
Use an error packet always. The recent Git clients will understand it
better than out-of-context sideband packets.
Change-Id: Ied6787973d3b6860c0b95c7910d4e4312bb7a184
Signed-off-by: Masaya Suzuki <masayasuzuki@google.com>
Diffstat (limited to 'org.eclipse.jgit.http.test/tst/org/eclipse/jgit')
0 files changed, 0 insertions, 0 deletions