reqwest icon indicating copy to clipboard operation
reqwest copied to clipboard

Stack overflow when fetching large payloads

Open marcusbuffett opened this issue 1 year ago • 1 comments

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?

marcusbuffett avatar Jan 26 '24 06:01 marcusbuffett

Can you provide an excerpt of your code, please?

mohe2015 avatar Jan 26 '24 11:01 mohe2015