requests functional API won't close sockets
Bug #1470860 reported by
Roman Podoliaka
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
requests (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Trusty |
Triaged
|
Medium
|
Unassigned | ||
Vivid |
Triaged
|
Medium
|
Unassigned | ||
Wily |
Fix Released
|
Medium
|
Unassigned |
Bug Description
Upstream issue: https:/
How to reproduce:
import requests
def make_request():
resp = requests.get('http://
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.
The commit fixing the issue: https:/
Changed in requests (Ubuntu Wily): | |
status: | Confirmed → Fix Released |
Changed in requests (Ubuntu Vivid): | |
status: | New → Triaged |
Changed in requests (Ubuntu Trusty): | |
status: | New → Triaged |
importance: | Undecided → Medium |
Changed in requests (Ubuntu Vivid): | |
importance: | Undecided → Medium |
Changed in requests (Ubuntu Wily): | |
importance: | Undecided → Medium |
To post a comment you must log in.
Hi. FYI, I have the same issue when building the package for Debian.