Squeak HTTPClient not working with FireFox

Rudolf Coetsee rudolfcoetsee at gmail.com
Tue Sep 26 10:09:05 UTC 2006


Hi

I am using the HTTPClient class to make HTTP requests from within a
Squeaklet. This works fine with IE and FireFox, but when I try to download
images in FireFox, the Squeaklet freezes. For example, the follwing would
work in IE:

aResult := HTTPClient httpGet: 'http://localhost/Logo.gif'.
aResult := HTTPClient httpGet: 'http://localhost/HOME.HTML'.

But in Firefox the first statement will cause it to freeze on the "sema
wait" statement in the "requestURLStream: ifError:" method of the
StandardFileStream class. Both statements execute exactly the same code, but
in the case of the GIF file, FireFox doesn't set the semaphore and
consequently Squeak waits forever for FireFox to signal completion of the
URL request.

I am using the following:

Squeak VM ver 3.7.1
IE ver. 6.0.2800.1106
FireFox ver. 1.0.7


Can anyone suggest a solution to this problem?

Thanks


RUDOLF COETSEE
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakfoundation.org/pipermail/squeak-dev/attachments/20060926/1c958d41/attachment.htm


More information about the Squeak-dev mailing list