Share

pkgbuild

Tracker: Bugs

5 pkgtool with a unresponsive server takes too long to timeout - ID: 1812491
Last Update: Comment added ( laca_ )

The umn.dl.sourceforge.net mirror is currently down and a pkgbuild running
on a spec file pointing to this mirror takes too long to timeout.

The root cause is that wget is invoked with -T 60 in the function
wget_source() in pkgtool.pl. "-T" just specifies the timeout. wget also has
a notion of "retry", where it retries a URL multiple times (by default 20)
with the given timeout. So the total time spent waiting on the unresponsive
server turns out to be 20 x 60 seconds = 20 minutes. Way too long !

Solution:

pkgbuild should limit wget to a single retry with the --tries=1 (-t 1)
option.


Ananth Shrinivas S ( ananthshrinivas ) - 2007-10-12 20:07

5

Closed

Fixed

Laszlo (Laca) Peter

general

None

Public


Comment ( 1 )




Date: 2008-01-06 09:23
Sender: laca_Project Admin


Committed, thanks!



Log in to comment.

Attached File

No Files Currently Attached

Changes ( 3 )

Field Old Value Date By
status_id Open 2008-01-06 09:23 laca_
resolution_id None 2008-01-06 09:23 laca_
close_date - 2008-01-06 09:23 laca_