]> source.dussan.org Git - jgit.git/commit
Consume request body before flushing the buffer 21/103721/2
authorMasaya Suzuki <masayasuzuki@google.com>
Fri, 25 Aug 2017 22:05:45 +0000 (15:05 -0700)
committerMasaya Suzuki <masayasuzuki@google.com>
Fri, 25 Aug 2017 22:23:20 +0000 (15:23 -0700)
commit9fb6561e7a669db24e3f0717a64a8cd2fcfb6ba1
tree4bde90e5965e42251cc3c0800608cf34097c38a7
parent65b2d0b2d9b2a5fe8df6a82c98a31c366d5887ff
Consume request body before flushing the buffer

This is continuation from https://git.eclipse.org/r/#/c/94249/. When an
error happens, we might not read the entire stream. Consume the request
body before we flush the buffer.

Change-Id: Ia473a04ace600653b2d1f2822e3023570d992410
Signed-off-by: Masaya Suzuki <masayasuzuki@google.com>
org.eclipse.jgit/src/org/eclipse/jgit/transport/UploadPack.java