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.


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.


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


Freeipa-devel mailing list

Reply via email to