Thread 'tokio-runtime-worker' panicked

Hi,

I’m getting this error:

thread 'tokio-runtime-worker' panicked at lib/src/session/downstream.rs:55:18:
response receiver is open: ()

The reason is that the client has canceled the fetch (I’ve added a timeout in the client). How can I catch this error. I want to have a short timeout in fetch since it’s video data and I want to start downloading the next segment if this segment takes to long.

Is it possible to get notification if the client has canceled the request?

Thanks

Hi @fredrikoja

Thanks for reaching out!

Would you be able to produce a reduced test case using Fiddle (https://fiddle.fastly.dev/) as it’ll help us understand your setup.

I presume you’re using BackendBuilder in fastly::backend - Rust to configure the timeout, is that correct?