Cap chunk-size line length to prevent memory exhaustion
getChunkSize() appended the chunk-size line into the shared fragment
buffer byte by byte with no ceiling, and the body-size limit never
applies (it gates decoded body bytes only). A chunked request with an
endless hex string or unterminated chunk-extension thus grew fragment
until OOM.
Bound it per byte via isHeaderFieldSizeAllowed() (48 KiB),
sending 400 and returning -1.
Fixes: QTBUG-150270
Pick-to: 6.12 6.12.0 6.11
Change-Id: I104d2adca36710ca812e58024dfc5544dcba52af
Reviewed-by: MÃ¥rten Nordheim <marten.nordheim@qt.io>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>