[Yum-devel] [UG] [PATCH] replace curl.reset() so urlgrabber works with pycurl-7.15

seth vidal skvidal at fedoraproject.org
Tue Dec 21 14:05:00 UTC 2010


On Tue, 2010-12-21 at 10:04 +0800, Zhigang Wang wrote:
> On 12/20/2010 11:18 PM, seth vidal wrote:
> > On Sun, 2010-12-19 at 12:06 +0800, Zhigang Wang wrote:
> >> In case someone has the same usecase as me: want to use urlgrabber in RHEL5 and
> >> variant, this patch make it working for pycurl-7.15.
> >>
> >> Can anyone confirm it's the right way doing this?
> >>
> > 
> > by making a new object each time you will:
> > 
> > 1. not be able to use urlgrabber for any multithreaded application
> > 2. not be reuising any connections for keep alives, etc - forming a new
> > tcp connection each time.
> > 
> 
> Thanks Seth for this valuable info. Fortunately, yum is single threaded.
> 

yes - but urlgrabber is used by some other things.

-sv




More information about the Yum-devel mailing list