diff options
author | Shawn O. Pearce <spearce@spearce.org> | 2011-05-27 12:04:19 -0700 |
---|---|---|
committer | Shawn O. Pearce <spearce@spearce.org> | 2011-05-31 08:58:45 -0700 |
commit | 67a1a0993f3969357c554b2030cfd794b3c3af89 (patch) | |
tree | c05749de9ac453f37713528a9289c2e6490e72c2 /org.eclipse.jgit.pgm/resources/org/eclipse | |
parent | c1525e2aa5e444a2a234de27d6b7189d5d7f715e (diff) | |
download | jgit-67a1a0993f3969357c554b2030cfd794b3c3af89.tar.gz jgit-67a1a0993f3969357c554b2030cfd794b3c3af89.zip |
Ensure the HTTP request is fully consumed
Some servlet containers require the servlet to read the EOF marker
from the input stream before a response can be output if the stream
is using "Transfer-Encoding: chunked"... which is typical for any
sort of large push to a repository over smart HTTP.
Ensure the EOF is always read by the PackParser when it is handling
the stream, and fail fast if there is more data present than expected
since this does indicate a protocol error.
Also ensure the EOF is read by UploadPack before it starts to output
a partial response using packing progress meters.
Change-Id: I131db9dea20b2324cb7c3272a814f21296bc64bd
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'org.eclipse.jgit.pgm/resources/org/eclipse')
0 files changed, 0 insertions, 0 deletions