diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2012-06-27 11:06:37 -0700 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2012-06-27 14:11:42 -0700 |
commit | 1c6c73c5a9b8dd700be45d658f165a464265dba7 (patch) | |
tree | 9dddd8e9bbf31cf23ad946f91468fed0ac19ef3f /org.eclipse.jgit.http.server/resources/org | |
parent | dc23a7cc421f09da42192c54ea8d54fb2ca30dfb (diff) | |
download | jgit-1c6c73c5a9b8dd700be45d658f165a464265dba7.tar.gz jgit-1c6c73c5a9b8dd700be45d658f165a464265dba7.zip |
Work around smart HTTP bugs in C Git
I have unfortunately introduced a few bugs in the native Git client
over the years. 1.7.5 is unable to send chunked requests correctly,
resulting in corrupt data at the server. Ban this client whenever
it uses chunked encoding with an error message.
Prior to some more recent versions, git push over HTTP failed to
report status information and error messages due to a race within
the client and its helper process. Check for these bad versions and
send errors as messages before the status report, enabling users
to see the failures on their terminal.
Change-Id: Ic62d6591cbd851d21dbb3e9b023d655eaecb0624
Diffstat (limited to 'org.eclipse.jgit.http.server/resources/org')
-rw-r--r-- | org.eclipse.jgit.http.server/resources/org/eclipse/jgit/http/server/HttpServerText.properties | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/org.eclipse.jgit.http.server/resources/org/eclipse/jgit/http/server/HttpServerText.properties b/org.eclipse.jgit.http.server/resources/org/eclipse/jgit/http/server/HttpServerText.properties index e811891904..dbc5bf7b8f 100644 --- a/org.eclipse.jgit.http.server/resources/org/eclipse/jgit/http/server/HttpServerText.properties +++ b/org.eclipse.jgit.http.server/resources/org/eclipse/jgit/http/server/HttpServerText.properties @@ -1,5 +1,12 @@ alreadyInitializedByContainer=Already initialized by container cannotGetLengthOf=Cannot get length of {0} +clientHas175ChunkedEncodingBug=Git client software upgrade is required.\n\ +\n\ +Git 1.7.5 contains a bug that breaks HTTP support in the client.\n\ +Please upgrade to Git 1.7.5.1 or newer (or alternatively, downgrade\n\ +to any version between 1.6.6 and 1.7.4.5).\n\ +\n\ + http://git-scm.com/download\n encodingNotSupportedByThisLibrary={0} "{1}": not supported by this library. expectedRepositoryAttribute=Expected Repository attribute filterMustNotBeNull=filter must not be null |