aboutsummaryrefslogtreecommitdiff
path: root/sideband.c
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2009-11-04 17:16:37 -0800
committerJunio C Hamano <gitster@pobox.com>2009-11-04 17:58:16 -0800
commit5abb013b3ddfb42e5baa3c7de052af596a0ee82f (patch)
tree90102197d380c4041c38f246776576f8c821cc4f /sideband.c
parent7da4e2280ccaf5ecb357f7cb2b81d62f78f00f9e (diff)
downloadgit-5abb013b3ddfb42e5baa3c7de052af596a0ee82f.tar.gz
git-5abb013b3ddfb42e5baa3c7de052af596a0ee82f.tar.xz
http-backend: Use http.getanyfile to disable dumb HTTP serving
Some repository owners may wish to enable smart HTTP, but disallow dumb content serving. Disallowing dumb serving might be because the owners want to rely upon reachability to control which objects clients may access from the repository, or they just want to encourage clients to use the more bandwidth efficient transport. If http.getanyfile is set to false the backend CGI will return with '403 Forbidden' when an object file is accessed by a dumb client. Signed-off-by: Shawn O. Pearce <spearce@spearce.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'sideband.c')
0 files changed, 0 insertions, 0 deletions