]> git.ipfire.org Git - thirdparty/tornado.git/commit
Make tests compatible with curl 8.19.0 3582/head
authorCarlos Henrique Lima Melara <charlesmelara@riseup.net>
Fri, 6 Mar 2026 03:56:17 +0000 (00:56 -0300)
committerCarlos Henrique Lima Melara <charlesmelara@riseup.net>
Thu, 12 Mar 2026 01:26:03 +0000 (22:26 -0300)
commitde5e9432fb10f7081db089ec1ab75d1a48ab2772
tree0dee98708e27167a905545768cfb81714b5542d2
parent3dfc965b2828fb2e48b700b1436dfbd16224a05d
Make tests compatible with curl 8.19.0

In 8.19.0-rc2, the error logic has been changed so any later errors are
preserved. This changes what is returned by curl and therefore what tornado
sees. For HTTPError variant of the test, which uses CurlAsyncHTTPClient, we get
the error from pycurl and now it contains "Failed binding local connection
end". This logic handles both the old version of libcurl and also the newer
one.

Co-Authored-By: Samuel Henrique <samueloph@debian.org>
tornado/test/httpclient_test.py