[sheepdog] [PATCH V2 1/2] sheep: simplify client_decref() and move it into free_request() and add a helper function

Liu Yuan namei.unix at gmail.com
Fri Jul 6 13:14:11 CEST 2012


On 07/06/2012 06:56 PM, Yunkai Zhang wrote:
>> Better assign fd = -1 in unregister_event() and then we can check it
> No, this fd need to be closed by destroy_client() when ci->refcnt become zero.
> 

If fd is dead connection, why not we close it as soon as possible?

Thanks,
Yuan




More information about the sheepdog mailing list