Go to file
Shawn O. Pearce ca8c32cd7a sync: kill git fetch process before SSH control master process
If the SSH control master process is killed while an active git
fetch is using its network socket, the underlying SSH client may
not realize the connection was broken.  This can lead to both the
client and the server waiting indefinitely for network messages
which will never be sent.

Work around the problem by keeping track of any processes that use
the tunnels we establish.  If we are about to kill any of the SSH
control masters that we started, ensure the clients using them are
successfully killed first.

Change-Id: Ida6c124dcb0c6a26bf7dd69cba2fbdc2ecd5b2fc
Signed-off-by: Shawn O. Pearce <sop@google.com>
2010-05-11 18:31:47 -07:00
docs Add a 'smart sync' option to repo sync 2010-04-13 10:20:37 -07:00
hooks Automatically install Gerrit Code Review's commit-msg hook 2010-03-06 19:21:00 -08:00
subcmds upload: Move confirmation threshold from 3 to 5 commits 2010-05-05 09:20:51 -07:00
tests Fix error parsing a non-existant configuration file 2009-07-02 16:12:57 -07:00
.gitignore .gitignore: add an entry for repopickles 2009-06-28 15:08:56 -07:00
.project Add PyDev project files to repo 2009-06-02 00:09:07 +02:00
.pydevproject Add PyDev project files to repo 2009-06-02 00:09:07 +02:00
color.py Add -p to repo forall to improve output formatting 2009-04-18 13:49:13 -07:00
command.py Add -p to repo forall to improve output formatting 2009-04-18 13:49:13 -07:00
COPYING Initial Contribution 2008-10-21 07:00:00 -07:00
editor.py Support GIT_EDITOR='vim -c "set textwidth=80"' 2009-07-02 12:45:47 -07:00
error.py Document any crashes from the user's text editor 2009-06-24 07:15:21 -07:00
git_command.py sync: kill git fetch process before SSH control master process 2010-05-11 18:31:47 -07:00
git_config.py sync: kill git fetch process before SSH control master process 2010-05-11 18:31:47 -07:00
git_refs.py Make usage of open safer by setting binary mode and closing fds 2009-04-18 14:48:03 -07:00
git_ssh Automatically use SSH control master support during sync 2009-04-18 16:50:47 -07:00
main.py Refactor Manifest to be XmlManifest 2009-05-29 09:31:28 -07:00
manifest_xml.py Add a 'smart sync' option to repo sync 2010-04-13 10:20:37 -07:00
pager.py Don't start the pager if stdout is a pipe 2009-04-01 07:24:22 -07:00
progress.py Only display a progress meter once we spend 0.5 seconds on a task 2009-04-18 10:09:16 -07:00
project.py Automatically install Gerrit Code Review's commit-msg hook 2010-03-06 19:21:00 -08:00
repo Refactor Manifest to be XmlManifest 2009-05-29 09:31:28 -07:00
SUBMITTING_PATCHES Document how to contribute to the repo project 2009-07-02 13:18:55 -07:00
trace.py Fix repo --trace to show ref and config loads 2009-04-18 09:54:51 -07:00