This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author martin.panter
Recipients gmixo, martin.panter, r.david.murray
Date 2015-12-12.02:00:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1449885660.72.0.0375665779885.issue25838@psf.upfronthosting.co.za>
In-reply-to
Content
As far as I understand, httplib should not be automatically reconnecting and re-sending requests. I still suspect your script may be causing the retry, but you are welcome to prove me wrong.

Can you clarify “send PUT request to closed socket”: is the local OS socket closed (file descriptor is released)? Or is it that the remote end of the connection has been shut down? If it is the remote end, in Python 2 usually you would see a BadStatusLine or some kind of socket.error exception, and nothing would be retried.

I think we really need to know what your script is doing to be able to help. For instance, in the 059 screen shot, what API calls were made to cause data to be initially sent (presumably from local port 40736), and then the reconnection (local port 40757) with more data?
History
Date User Action Args
2015-12-12 02:01:00martin.pantersetrecipients: + martin.panter, r.david.murray, gmixo
2015-12-12 02:01:00martin.pantersetmessageid: <1449885660.72.0.0375665779885.issue25838@psf.upfronthosting.co.za>
2015-12-12 02:01:00martin.panterlinkissue25838 messages
2015-12-12 02:00:58martin.pantercreate