Comment 6 for bug 1838775

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to python-swiftclient (master)

Reviewed: https://review.opendev.org/674320
Committed: https://git.openstack.org/cgit/openstack/python-swiftclient/commit/?id=1f26c5736949e1c3b57c024a315e33fc419f126e
Submitter: Zuul
Branch: master

commit 1f26c5736949e1c3b57c024a315e33fc419f126e
Author: Alex Schultz <email address hidden>
Date: Fri Aug 2 08:20:56 2019 -0600

    Cleanup session on delete

    If an external http connection was not passed into the client, we
    create one with a requests.Session() on our own. Once this is used,
    it may still have an open socket when the connection is closed. We need
    to handle the closing of the requests.Session() ourselves if we created
    one. If you do not close it, a ResourceWarning may be reported about the
    socket that is left open.

    Change-Id: I200ad0cdc8b7999c3f5521b9a822122bd18714bf
    Closes-Bug: #1838775