Re: libperlwww problems (fwd) (and Hi y'all)
Roy T. Fielding (fielding@rome.ICS.UCI.EDU)
Fri, 12 Aug 1994 17:47:52 -0700
> BTW, one observation and one question about wwwhttp.pl:
> The bind and all that hostname and $ThisSock stuff is not necessary,
> (though it doesn't hurt).
It isn't? I've seen it in all the perl clients I've looked at
(though I'll readily admit that I have never looked at it carefully).
Could you elaborate?
> I don't understand why the connect and the reading of the socket are
> all in the same timeout - in www.pl you are suggesting a 30 second
> timeout for the response, and this includes the reads. I regularly
> get response times larger than that for even small files.
Ah, yes, one of those things I thought about and never got back to.
Does anyone know if multiple calls to alarm() in perl have the same
effect as they do in C (i.e. does it result in resetting the alarm
counter to the new number (as in C) or does it do something weird
like set two alarms)? I suspect the former, but was going to check
before adding more alarms before each read. The camel book is no help
in this matter.
BTW, our systems are intermittently crashing here in Irvine due a
nasty heatwave and related power drops (too many people running their AC's).
Sorry if this effects the mailing list.
....Roy Fielding ICS Grad Student, University of California, Irvine USA
(fielding@ics.uci.edu)
<A HREF="http://www.ics.uci.edu/dir/grad/Software/fielding">About Roy</A>