summaryrefslogtreecommitdiff
path: root/test/integration/test-apt-patterns
diff options
context:
space:
mode:
authorDavid Kalnischkies <david@kalnischkies.de>2026-02-05 21:18:40 +0000
committerDavid Kalnischkies <david@kalnischkies.de>2026-06-10 13:07:30 +0000
commit49e91b96d9faeca50ab0b212174744938d446132 (patch)
tree6b31bc0201214aa2d10a51b2edbf30032fa49889 /test/integration/test-apt-patterns
parent5b49a25a292dd3ed2355fadaca68753a72eb2422 (diff)
aptwebserver: Refuse client immediately on TLS handshake
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).
Diffstat (limited to 'test/integration/test-apt-patterns')
0 files changed, 0 insertions, 0 deletions