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

Rob Crittenden rcritten at redhat.com
Tue Sep 20 12:57:45 UTC 2011


Jan Cholasta wrote:
> 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
>

We don't really have a lot of choice, the file pointer can be used at 
any point in a successful request.

rob




More information about the Freeipa-devel mailing list