Wget and HTTPSocket

Brent Vukmer bvukmer at blackboard.com
Tue Jun 3 18:27:43 UTC 2003


I'm getting "data was slow" in the Transcript.  I'll try saving the
retries for later.  

> -----Original Message-----
> From: Ned Konz [mailto:ned at bike-nomad.com] 
> Sent: Tuesday, June 03, 2003 2:17 PM
> To: The general-purpose Squeak developers list
> Subject: Re: Wget and HTTPSocket
> 
> 
> On Tuesday 03 June 2003 10:45 am, Brent Vukmer wrote:
> > My recent Squeak work has done a lot of downloading via 
> HTTP, hitting 
> > the swiki.gsug.org server.  My impression is that HTTPSocket is not 
> > very robust for handling situations where it should retry a 
> request; I 
> > routinely find that loading about a hundred URLs is enough 
> to create 
> > an error within Squeak.
> 
> What error?
> 
> Are you getting "data was late" messages on the transcript?
> 
> The HTTPSocket will try 3 times to wait for up to 5 seconds for a 
> response, then will return a default that's easy to test for.
> 
> However, I'd prefer it to raise an Exception and let the application 
> determine a retry policy (and a timeout, for that matter).
> 
> In your case, it would make more sense to not retry immediately, but 
> to take the potential retries and save them for later.
> 
> -- 
> Ned Konz
> http://bike-nomad.com
> GPG key ID: BEEA7EFE
> 
> 
> 



More information about the Squeak-dev mailing list