The Server Crashes When HTTP Version is Too large of a Number or a String

Description of error: when the server receives an HTTP request with a large number-version or a string as the number version, the server tries to cast the value to a float and crashes.

Environment Ubuntu 20.2 LTS

Reproducing Any request like the following

GET / HTTP/9999999999999999999999999999
GET / HTTP/this

Backtrace.txt