|
From: | Paolo Bonzini |
Subject: | Re: [Help-smalltalk] Re: Exception in the socket code |
Date: | Fri, 25 Mar 2011 15:33:03 +0100 |
User-agent: | Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.13) Gecko/20101209 Fedora/3.1.7-0.35.b3pre.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.7 |
On 03/25/2011 03:28 PM, Holger Hans Peter Freyther wrote:
> > I'll apply the Buffers.st part since it's good anyway.hmm. does this mean I can't read data out of a remotely closed socket? Or only when I have called close myself. Sorry for the stupid question.
No, only when you have called close yourself. In fact, I'm not sure what would call #close on the buffers; nothing, probably. But the patch would definitely tell us if that's happening.
Now that I think of it, while my patch to the buffer classes is good for GST, you may want to replace the two implementations of #close with just "self halt".
Paolo
[Prev in Thread] | Current Thread | [Next in Thread] |