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

_______________________________________________
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to