SocketStream bites again,
warning to 3.8 (or earlier) users still using it
goran at krampe.se
goran at krampe.se
Mon Aug 28 07:41:32 UTC 2006
Hi folks!
We just dug deep into Gjallar in order to find a weird problem were our
multipart file upload field ended up putting its contents (the file)
into a nearby textarea input field. :)
First we suspected the multipart form fields parsing code in
KomHttpServer - but in fact, it turned out to be a bug in the old
SocketStream class (the one in 3.8).
Instead of figuring out *exactly* why upToAll: fails in this particular
case - we threw in FastSocketStream (we have been using it, but I missed
putting it in when building our latest dev image) - and the problem
disappeared.
Re-reading my class comment on FastSocketStream I mention one problem in
the old upToAll:, but this one seemed to be a different bug.
Anyway, the summary: Use FastSocketStream :)
regards, Göran
More information about the Squeak-dev
mailing list
|