Re: LWP::Simple get() on win32

2003-09-20 Thread Gisle Aas
David Sanders <[EMAIL PROTECTED]> writes: > On Saturday 20 September 2003 05:41 pm, Gisle Aas wrote: > > David Sanders <[EMAIL PROTECTED]> writes: > > > Thanks, here is where it hangs: > > > > [...] > > > > > LWP::Simple::_trivial_http_get(c:/Perl/site/lib/LWP/Simple.pm:319): > > > 319: 1 wh

RE: socket connect and response time

2003-09-20 Thread David Carter
Took another look at this, and realized that I didn't take time to make MyHTTP a proper subclass of Protocol::HTTP. It's really just a hacked up copy of HTTP.pm It works, but it is not elegant. I hope some of you find it useful. Regards, David --- David Carter [EMAIL PROTECTED] > >-Origina

Re: LWP::Simple get() on win32

2003-09-20 Thread David Sanders
On Saturday 20 September 2003 05:41 pm, Gisle Aas wrote: > David Sanders <[EMAIL PROTECTED]> writes: > > Thanks, here is where it hangs: > > [...] > > > LWP::Simple::_trivial_http_get(c:/Perl/site/lib/LWP/Simple.pm:319): > > 319: 1 while $n = sysread($sock, $buf, 8*1024, length($buf)); > >

Re: LWP::Simple get() on win32

2003-09-20 Thread Gisle Aas
David Sanders <[EMAIL PROTECTED]> writes: > Thanks, here is where it hangs: [...] > LWP::Simple::_trivial_http_get(c:/Perl/site/lib/LWP/Simple.pm:319): > 319: 1 while $n = sysread($sock, $buf, 8*1024, length($buf)); > DB<1> s Is sysread hanging or is it looping here because it never ret

Re: LWP::Simple get() on win32

2003-09-20 Thread David Sanders
On Saturday 20 September 2003 04:46 pm, Gisle Aas wrote: > David Sanders <[EMAIL PROTECTED]> writes: > > Under the debugger it just hangs also; here is a test case: > > > > Microsoft Windows XP [Version 5.1.2600] > > (C) Copyright 1985-2001 Microsoft Corp. > > Where did this text come from. My mac

Re: LWP::Simple get() on win32

2003-09-20 Thread Gisle Aas
David Sanders <[EMAIL PROTECTED]> writes: > Under the debugger it just hangs also; here is a test case: > > Microsoft Windows XP [Version 5.1.2600] > (C) Copyright 1985-2001 Microsoft Corp. Where did this text come from. My machine says it is "Microsoft Windows XP, Home edition, Versjon 2002, S

Re: LWP::Simple get() on win32

2003-09-20 Thread Rob Dixon
David Sanders wrote: > > I am having a problem with LWP::Simple::get() on a Windows XP installation. > (LWP version 5.69). > The following command hangs up (requiring a Cntrl-c): > perl -e "use LWP::Simple; my \$out=get(\"http://www.cpan.org\";);print \$out" > > but this works > perl -e "use LWP::

Re: [PATCH] URI test failure on OS/2

2003-09-20 Thread John J Lee
On 19 Sep 2003, Gisle Aas wrote: [...] > The current behaviour is based on what made sense to me, not on how > stuff actually works in other apps on Windows. Anybody know a place > that describes the de-factor rules for file: URLs on Windows? [...] Probably a useless snippet: apparently both ':'

Re: LWP::Simple get() on win32

2003-09-20 Thread David Sanders
On Saturday 20 September 2003 02:44 pm, Gisle Aas wrote: > David Sanders <[EMAIL PROTECTED]> writes: > > I am having a problem with LWP::Simple::get() on a Windows XP > > installation. (LWP version 5.69). > > The following command hangs up (requiring a Cntrl-c): > > perl -e "use LWP::Simple; my \$o

Re: LWP::Simple get() on win32

2003-09-20 Thread Gisle Aas
David Sanders <[EMAIL PROTECTED]> writes: > I am having a problem with LWP::Simple::get() on a Windows XP installation. > (LWP version 5.69). > The following command hangs up (requiring a Cntrl-c): > perl -e "use LWP::Simple; my \$out=get(\"http://www.cpan.org\";);print \$out" > > but this work

LWP::Simple get() on win32

2003-09-20 Thread David Sanders
I am having a problem with LWP::Simple::get() on a Windows XP installation. (LWP version 5.69). The following command hangs up (requiring a Cntrl-c): perl -e "use LWP::Simple; my \$out=get(\"http://www.cpan.org\";);print \$out" but this works perl -e "use LWP::Simple;getprint(\"http://www.cpan.o

Re: Chaining proxy servers

2003-09-20 Thread Philippe 'BooK' Bruhat
Le vendredi 19 septembre 2003 à 16:07, [EMAIL PROTECTED] écrivait: > > I've seen one utility for Windows which allows this, called proxychain. > It's hard to find now, but check google. It claims to be able to chain > multiple proxies, without having to reconfigure any of the proxies in the > cha

Re: No case on push_header

2003-09-20 Thread Rob Dixon
"Gisle Aas" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > "Rob Dixon" <[EMAIL PROTECTED]> writes: > > > Perhaps a little better than hacking the module is to mess with the > > package hash %standard_case in the calling code? > > > > $HTTP::Headers::standard_case{"xxx-xxx-xxx"} =