lp:~dbungert/ubuntu/+source/python-requests-unixsocket

Owned by Dan Bungert
Get this repository:
git clone https://git.launchpad.net/~dbungert/ubuntu/+source/python-requests-unixsocket
Only Dan Bungert can upload to this repository. If you are Dan Bungert please log in for upload directions.

Branches

Name Last Modified Last Commit
upstream-lp-2053154 2024-02-15 19:58:25 UTC
testutils: fix test flake on HEAD request

Author: Dan Bungert
Author Date: 2024-02-15 19:54:21 UTC

testutils: fix test flake on HEAD request

Test flakiness may be observed with the unit tests. The symptom of that
looks like:
requests.exceptions.ConnectionError: ('Connection aborted.',
BadStatusLine('Hello world!HTTP/1.1 200 OK\r\n'))

We believe that, with the correct send and recv timing, the "Hello
world!" body from a HEAD request will be left unread in the reused
socket, resulting in an invalid read for the next request along.

Co-authored-by: Olivier Gayot <olivier.gayot@canonical.com>

11 of 1 result
This repository contains Public information 
Everyone can see this information.

Subscribers