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

_______________________________________________
Freeipa-devel mailing list
[email protected]
https://www.redhat.com/mailman/listinfo/freeipa-devel

Reply via email to