Our API docs over at https://js-compute-sdk.fastly.dev/docs/fastly:backend/Backend/ specify:
connectTimeout and firstByteTimeout will result in a 503 response after request abortion.
betweenBytesTimeout will result in the response received so far being considered complete and the fetch ending.
What actually happens:
Our API docs over at https://js-compute-sdk.fastly.dev/docs/fastly:backend/Backend/ specify:
connectTimeoutandfirstByteTimeoutwill result in a503response after request abortion.betweenBytesTimeoutwill result in the response received so far being considered complete and the fetch ending.What actually happens:
connectTimeoutresults in thefetchpromise itself failing with aDOMException(nameNetworkError, code19, messageConnection timeout).firstByteTimeoutI couldn't get to time out at all, so I don't know what it would actually do.betweenBytesTimeoutI still need to test, but I don't trust that we're doing exactly what the docs say, right now.