-
https://crates.io/crates/httparse is a widely used HTTP parsing crate, most notably powering `hyper` and `reqwest`.
cargo-geiger shows the following when `httparse` is used via `reqwest`:
```
F…
-
https://crates.io/crates/httparse
HTTP protocol parser. 10,000 downloads/day. Used in `reqwest` among others, exposed to untrusted input from the network.
Contains unsafe code, some of it is for…
-
If `n` is large enough to cause wrapping then `self.cursor.wrapping_add(n)` would likely be less than self.start. Either saturating_add is needed, or a test that `n < end - cursor`.
https://github.…
hkBst updated
3 weeks ago
-
When I tried using an ngrok tcp tunnel to point towards a tokio-tungstenite websocket server on my localhost, I get an "httparse error: invalid token" error. Does anyone know why this is happening?
-
Hello, the end of the chunk should be ended by two sets of `\r\n`. but `parse_chunk_size` considers that one set is enough, which results in the inability to know the completion of message transmissio…
-
## Problem
I like using `eza --tree`, but I'm extremely mildly inconvenienced by things like cargo `target` directories:
```
tether@Gasoline-Veins ~/D/testasdf> eza --tree
.
├── Cargo.lock
├…
-
Hello !
I discovered recently that many user agents send raw UTF8 bytes in HTTP paths, and proxies forward them without issues. See https://github.com/actix/actix-web/issues/3102
However, it l…
-
I am building a HTTP server on top of tokio that needs to perform minimal memory allocations per client TCP connection, regardless of how many HTTP requests are received through the connection. Theref…
-
It seems like this line is the issue: https://github.com/http-rs/async-h1/blob/a1448c379b0cce920e44c62b566bb20db1ce2157/src/client/decode.rs#L65
It is my understanding there shouldn't be a meaningf…
-
I would like to build a function
``` rust
fn read_headers(
stream: &mut R,
buf: &'b mut Vec,
headers: &'a mut [Header