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

Zhigang Wang zhigang.x.wang at oracle.com
Tue Dec 21 02:04:02 UTC 2010


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.

Zhigang


More information about the Yum-devel mailing list