Fix PKC not releasing connections to the PMS. Should fix memory, connection and PMS issues. Fixes #75, fixes #64

This commit is contained in:
tomkat83 2016-07-15 18:59:01 +02:00
parent a84ea2f0b5
commit dd70a79423

View file

@ -254,6 +254,9 @@ class DownloadUtils():
if r.status_code == 204: if r.status_code == 204:
# No body in the response # No body in the response
# But read (empty) content to release connection back to pool
# (see requests: keep-alive documentation)
r.content
return True return True
elif r.status_code == 401: elif r.status_code == 401: