reqwest
reqwest copied to clipboard
Stack overflow when fetching large payloads
When I use reqwest to fetch a payload that's beyond the tokio runtime thread stack size, I get a thread 'tokio-runtime-worker' has overflowed its stack error. This is without any JSON parsing. Stuff at this level is a bit above my paygrade, but it seems like this should be allocating on the heap instead of the stack, at least past a certain size?
Can you provide an excerpt of your code, please?