#3962·hyper

hyper_util: expose a timeout on ReadVersion in `server::conn::auto`

Author: howardjohnCreated Oct 7, 2025Updated Sep 14, 2026
LabelsA-serverC-featureK-hyper-utilE-pr-welcome

Is your feature request related to a problem? Please describe. When serving h1 directly, hyper currently has a time on reading the initial headers (see https://github.com/hyperium/hyper/issues/3178 for context/the PR). However, with auto there is no timer on the ReadVersion, which makes this timer unreachable until the ReadVersion is complete.

The impact of this is that the user can open up a connection indefinitely without sending any data which is a DoS vector.

Describe the solution you'd like An (opt in, perhaps?) timeout on server::conn::auto

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.