[Freeipa-devel] [PATCH] 879 ensure ssl socket is shut down

Jan Cholasta jcholast at redhat.com
Tue Sep 20 06:28:33 UTC 2011


On 19.9.2011 23:32, Rob Crittenden wrote:
> httplib makes a copy of the nss file descriptor but doesn't close it
> when the response code != 200 so we need to close it ourselves.
>
> rob
>

Can we be sure that httplib's behavior is consistent and won't change? I 
would rather try to close the fd without regard to the status and ignore 
any exceptions that it might raise, just to be on the safe side.

Honza

-- 
Jan Cholasta




More information about the Freeipa-devel mailing list