[Rubygems-developers] Good new on authenticating proxies!
Assaph Mehr
assaph at gmail.com
Wed Feb 9 00:52:37 EST 2005
On Wed, 9 Feb 2005 00:30:32 -0500, Jim Weirich <jim at weirichhouse.org> wrote:
> On Monday 07 February 2005 08:48 pm, Assaph Mehr wrote:
> > For some reason going thru this proxy kept timeing out of #head, but
> > #get fixed it. I've just tested this as:
> >
> > resp = begin
> > http.head(path)
> > rescue Timeout::Error
> > http.get(path)
> > end
>
> How long does it take for the head call to time out?
60 seconds. Annoying but not critical.
BTW, There's a Net::HTTP#read_timeout=(sec) setter in which you can
control this. I've tried different values, but it doesn't seem to
change the end result.
Cheers,
Assaph
More information about the Rubygems-developers
mailing list