summaryrefslogtreecommitdiffstats
path: root/org.eclipse.jgit.test
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2010-06-14 12:37:17 -0700
committerShawn O. Pearce <spearce@spearce.org>2010-06-23 16:54:15 -0700
commit5ed96eb7f44edb06ebf17eece0f9679ee5713446 (patch)
tree6ba509754bd8a816f130cd409f9ffc3d6bd36cc4 /org.eclipse.jgit.test
parent066df3d1a14c3317273fe56a60948bff2edee8dc (diff)
downloadjgit-5ed96eb7f44edb06ebf17eece0f9679ee5713446.tar.gz
jgit-5ed96eb7f44edb06ebf17eece0f9679ee5713446.zip
UploadPack: Avoid unnecessary flush in smart HTTP
Under smart HTTP the biDirectionalPipe flag is false, and we return back immediately at this point in the negotiation process. There is no need to flush the stream to the client, the request is over and it will be automatically flushed out by the higher level servlet that invoked us. Avoiding flush here allows us to only use flush after a progress message is sent during pack generation. Change-Id: Id0c8b7e95e3be6ca4c1b479e096bed6b0283b828 Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'org.eclipse.jgit.test')
0 files changed, 0 insertions, 0 deletions