trillium-rs / trillium

Trillium is a composable toolkit for building internet applications with async rust

Home Page:https://trillium.rs

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

`trillium-http`: Incorrect handling of http chunks longer than u32::MAX on 32 bit platforms.

jbr opened this issue · comments

Currently received_body::chunked_decode expected a usize count of remaining bytes in the chunk, but httparse returns a u64. We truncate down, which is incorrect.

This was resolved at some point, as chunk length is always a u64 now