help-smalltalk
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-smalltalk] Sockets.Socket and remote closing the connection


From: Paolo Bonzini
Subject: Re: [Help-smalltalk] Sockets.Socket and remote closing the connection
Date: Mon, 27 Sep 2010 12:53:53 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.9) Gecko/20100907 Fedora/3.1.3-1.fc13 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.3

On 09/27/2010 12:18 PM, Holger Hans Peter Freyther wrote:
>  Now there is still the question why isPeerAlive returns true as well.
okay, it is calling isOpen..

Nope, it does

        ^self readBuffer notNil and: [ super isPeerAlive ]

it should have called #deleteBuffers after the zero-byte read. Committing a fix.

Paolo



reply via email to

[Prev in Thread] Current Thread [Next in Thread]