On Jan 27, 2009, at 9:46 AM, Ingo Strüwing wrote:
> Hi Davi,
>
> Davi Arnaut, 26.01.2009 19:30:
>
>> On 1/21/09 3:05 PM, Ingo Strüwing wrote:
> ...
>>> Davi Arnaut, 20.01.2009 21:22:
>>>
>>> ...
>>>> On 1/11/09 4:05 PM, Ingo Struewing wrote:
> ...
>>> Yes. Keeping the write direction open means that the client can
>>> still
>>> receive data. The worst thing that can happen is that the client
>>> gets an
>>> error on an attempt to write to the socket. If it interprets this as
>>> "Lost connection to server", then we've won anyway. Just an error
>>> message from the server might get lost.
>>
>> My doubt is about a client polling his socket and bailing out in case
>> poll returns a error if one of the directions is closed. This needs
>> to
>> be documented as a protocol change.
>
>
> Ok. Documenting the half-close in KILL situations is surely a good
> thing. However, i don't know where to look for the protocol
> documentation. Can you help out?
http://forge.mysql.com/wiki/MySQL_Internals_ClientServer_Protocol ?
--
Paul DuBois
Sun Microsystems / MySQL Documentation Team
Madison, Wisconsin, USA
www.mysql.com