]> source.dussan.org Git - jgit.git/commit
Fix error handling in RepositoryFilter 35/3335/1
authorShawn O. Pearce <spearce@spearce.org>
Wed, 4 May 2011 21:55:53 +0000 (14:55 -0700)
committerShawn O. Pearce <spearce@spearce.org>
Wed, 4 May 2011 21:58:33 +0000 (14:58 -0700)
commitde16d5e8f98610e253d46e25a39ee4edfca23b92
treeeb6701c2d6a6542c4a38ead3a8926965dbb1f8a0
parente2413ce2f65b965a706621b50865cfda8c395c4f
Fix error handling in RepositoryFilter

The filter did not correctly match smart HTTP client requests,
so it always fell back on HTTP status codes for errors. This
usually causes a smart client to retry a dumb request, which
is not what the server wants.

Change-Id: I42592378dc42fbe308ef30a2923786c690f668a9
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
org.eclipse.jgit.http.server/src/org/eclipse/jgit/http/server/RepositoryFilter.java