Public bug reported:

Upstream issue: https://github.com/kennethreitz/requests/issues/1882


How to reproduce:


import requests

def make_request():
    resp = requests.get('http://google.com')
    resp.close()  # this appears to have no effect, even though the function 
exists

make_request()


This may result in possible FDs leakage and breaks OpenStack Nova unit tests 
(nova.tests.unit.test_wsgi.TestWSGIServerWithSSL.test_app_using_ipv6_and_ssl) 
when 14.04 version of python-requests is used.


The commit fixing the issue: 
https://github.com/ContinuousFunction/requests/commit/c0e927c52b8f049d6aa816360780580173871ac6

** Affects: requests (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1470860

Title:
  requests functional API won't close sockets

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/requests/+bug/1470860/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to