DNS lookup problems in HTTP

Lex Spoon lex at cc.gatech.edu
Sun Nov 3 19:37:41 UTC 2002


"Andreas Raab" <Andreas.Raab at gmx.de> wrote:
> Lex,
> 
> #addDeferredUIMessage: is abused in various places to do a one-time
> alarm (e.g., the equivalent to #addAlarm:after:).  Why anyone would need
> this is beyound me but check out PluggableTextMorph>>accept - I bet you
> wouldn't expect to find #addDeferredUIMessage: here, eh?!.

Okay so my suggestion would break this kind of code.  Maybe we make the
change later, though?  It seems reasonable to have code that should work
from either the UI thread or another thread, and for such code the
change would let you call addDeferredUIMessage: and be done with it.


> Back to your problem: Raise an exception! 

Okydoke, coming out in a second.  Incidentally, there's a LOT of cut and
paste going on in these methods.  I also found an instance of the roblem
in the FTP code of ServerDirectory, and changed the code in that place,
too.

I've only briefly tested this, but it seems to be okay.


Lex



More information about the Squeak-dev mailing list