FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > ArchLinux > ArchLinux Pacman Development

 
 
LinkBack Thread Tools
 
Old 02-16-2011, 12:03 AM
Allan McRae
 
Default Timeout when download problems occur

On 16/02/11 09:53, Dan McGee wrote:

We already set fetchTimeout to 10 seconds, but this does not apply for some
of the connection setup steps such as connect(). This left us hanging in a
few places where we would normally be stuck in a system call for an
indeterminate amount of time.

This addresses FS#15369, which has grown to include and duplicate several
other bugs and failures such as specifying a non-existent FTP server, DSL
disconnections, etc.

Signed-off-by: Dan McGee<dan@archlinux.org>
---



I tested this by the "pull out the internet cable" method.

Before this patch, I got a time out. After the patch, I got a freeze
that I can't crtl+c out of:


> sudo ./src/pacman/pacman -Sy
Password:
:: Synchronizing package databases...
kernel64 is up to date
testing is up to date
core is up to date
extra is up to date
community-testing is up to date
^C^C^C^C^C^C^C^C 228.5K 118.2K/s 00:00:01
[###########-----------] 53%



Allan
 

Thread Tools




All times are GMT. The time now is 10:10 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org