Re: [PATCH] Move timeout handling from ConnOpener::connect to ConnOpener::timeout

From: Alex Rousskov <rousskov_at_measurement-factory.com>
Date: Thu, 17 Jan 2013 21:37:00 -0700

On 01/17/2013 06:35 PM, Amos Jeffries wrote:
>> Amos, do you remember what "partially open FD" in the following comment
>> meant, exactly? Why cannot we just call comm_close() to cleanup?
>
> It means we have issued socket() and connect() OS calls. fd_table[]
> state probably exists. But we are still waiting on either TCP response,
> or the In-Progress event to run and the FD to be confirmed as open.
> This is signalled by (temporaryFd_ >= 0).

Why cannot we just call comm_close() to cleanup Comm state?

Alex.
Received on Fri Jan 18 2013 - 04:37:05 MST

This archive was generated by hypermail 2.2.0 : Fri Jan 18 2013 - 12:00:07 MST