diff options
author | Junio C Hamano <junkio@cox.net> | 2005-10-24 18:59:18 -0700 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2005-10-25 23:53:28 -0700 |
commit | 565ebbf79f61873042c22a7126d002c104e056f4 (patch) | |
tree | 764f8a201d063a7b49b07daa3a6e48b0af267162 /rsh.h | |
parent | Work around missing hard links on FAT formatted media (diff) | |
download | tgif-565ebbf79f61873042c22a7126d002c104e056f4.tar.xz |
upload-pack: tighten request validation.
This makes sure what the other end asks for are among what we
offered to give them. Otherwise we would end up running
git-rev-list with 20-byte nonsense, only to find it either die
(because the object was not found) or waste time (because we
ended up serving that phony 'client').
Also avoid wasting needs_sha1 pool to record duplicates, and
detect cloning requests better.
[this used to be on top of Johannes fetch-pack enhancements,
which we are rewinding it for further testing for now, so
the commit is rebased.]
Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'rsh.h')
0 files changed, 0 insertions, 0 deletions