summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.lfs
diff options
context:
space:
mode:
authorShawn Pearce <spearce@spearce.org>2016-02-16 15:09:05 -0800
committerShawn Pearce <spearce@spearce.org>2016-02-16 15:09:05 -0800
commite7a6e85b95b2665b124f57181d8f9bc29100adce (patch)
tree228d5ed850c0658aca12f4d3b5fa16b84bd02943 /org.eclipse.jgit.lfs
parentff5c756c79d1c10575b927cf3bb2eb1e1fcc391b (diff)
downloadjgit-e7a6e85b95b2665b124f57181d8f9bc29100adce.tar.gz
jgit-e7a6e85b95b2665b124f57181d8f9bc29100adce.zip
smart HTTP server: Pass along "want X not valid" to client
If the client sends a SHA-1 that the server does not recognize echo this back to the client with an explicit error message instead of the generic "internal server error". This was always the intent of the implementation but it was being dropped on smart HTTP due to the UploadPackServlet catching the PackProtocolException, discarding the buffered message UploadPack meant to send, and sending along a generic message instead. Change-Id: I8d96b064ec655aef64ac2ef3e01853625af32cd1
Diffstat (limited to 'org.eclipse.jgit.lfs')
0 files changed, 0 insertions, 0 deletions