Bug#899406: requests.Session doesn't properly handle closed keep-alive sessions

2018-05-29 Thread Jonathan Lynch
gt; > On Wednesday, May 23, 2018 10:16:57 PM CEST Jonathan Lynch wrote: > > Package: python-requests > > Version: 2.18.4 > [CUT detailed description] > > I forwarded the issue upstream since it's not Debian specific. Do you have > a > test that is able to reproduce s

Bug#899406: requests.Session doesn't properly handle closed keep-alive sessions

2018-05-23 Thread Jonathan Lynch
Package: python-requests Version: 2.18.4 When a server reaps a keep-alive session it sends a FIN packet to the client. Normally, requests handles this fine and rebuilds the session on the next request. However, there is an edge case involving network latency that is not properly handled: If pytho