jgit/org.eclipse.jgit.http.server
Shawn O. Pearce ccd0c0c911 UploadPack: Permit flushing progress messages under smart HTTP
If UploadPack invokes flush() on the output stream we pass it, its
most likely the progress messages coming down the side band stream.
As pack generation can take a while, we want to push that down
at the client as early as we can, to keep the connection alive,
and to let the user know we are still working on their behalf.

Ensure we dump the temporary buffer whenever flush() is invoked,
otherwise the messages don't get sent in a timely fashion to the
user agent (in this case, git fetch).

We specifically don't implement flush() for ReceivePack right now,
as that protocol currently does not provide progress messages to
the user, but it does invoke flush several times, as the different
streams include '0000' type flush-pkts to denote various end points.

Change-Id: I797c90a2c562a416223dc0704785f61ac64e0220
Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
2010-06-23 17:32:41 -07:00
..
.settings Simple dumb HTTP server for Git 2010-01-12 12:01:24 -08:00
META-INF Start 0.9 development 2010-06-14 08:11:27 -07:00
resources/org/eclipse/jgit/http/server Externalize strings from JGit 2010-05-19 14:37:16 -07:00
src/org/eclipse/jgit/http/server UploadPack: Permit flushing progress messages under smart HTTP 2010-06-23 17:32:41 -07:00
.classpath Externalize strings from JGit 2010-05-19 14:37:16 -07:00
.fbprefs Simple dumb HTTP server for Git 2010-01-12 12:01:24 -08:00
.gitignore Simple dumb HTTP server for Git 2010-01-12 12:01:24 -08:00
.project Simple dumb HTTP server for Git 2010-01-12 12:01:24 -08:00
build.properties Simple dumb HTTP server for Git 2010-01-12 12:01:24 -08:00
plugin.properties Correct bundle, provider names to be consistent 2010-01-23 11:42:15 -08:00
pom.xml Start 0.9 development 2010-06-14 08:11:27 -07:00