Dave Borowitz 137d0131bf Hold persistent proxy connection open while fetching clone.bundle
The persistent proxy may choose to present a per-process cookie file
that gets cleaned up after the process exits, to help with the fact
that libcurl cannot save cookies atomically when a cookie file is
shared across processes. We were letting this cleanup happen
immediately by closing stdin as soon as we read the configuration
option, resulting in a nonexistent cookie file by the time we use the
config option.

Work around this by converting the cookie logic to a context manager
method, which closes the process only when we're done with the cookie
file.

Change-Id: I12a88b25cc19621ef8161337144c1b264264211a
2015-01-02 13:57:13 -08:00
2012-11-14 11:38:57 +09:00
2013-03-08 01:18:08 +00:00
2014-12-30 18:50:05 -05:00
2008-10-21 07:00:00 -07:00
2014-08-20 11:47:10 +05:30
2013-11-21 06:03:22 +00:00
2014-12-30 18:50:05 -05:00
2011-09-19 14:52:57 -07:00
2014-01-30 15:17:09 -08:00
Description
No description provided
Apache-2.0 35 MiB
Languages
Python 99.1%
Shell 0.9%