summaryrefslogtreecommitdiff
path: root/test/integration/test-apt-https-transient
Commit message (Collapse)AuthorAgeFilesLines
* aptwebserver: Refuse client immediately on TLS handshakeDavid Kalnischkies2026-06-101-8/+7
| | | | | | | | | | | We implement a HTTP-only server here (that is wrapped by stunnel for HTTPS support), so if a TLS handshake reaches us it is always wrong and we can just close the connection immediately instead of accepting it and letting the client run into a timeout as we will never receive the message(s) we expect. This happens e.g. with browsers like Firefox that opportunistically try https first (even if you ask for http and specify a port).
* Turn TLS handshake issues into transient errorsJulian Andres Klode2021-05-121-0/+43
This makes them retriable, and brings them more into line with TCP, where handshake is also a transient error. LP: #1928100