cloudflare / cloudflare/workerd
Durable Objects: fetch cf.resolveOverride not respected
Open
- Dominant language
- C++
- Stars
- 8.7k
- Forks
- 739
- Avg merge
- 2d 20h
- Merged PRs (30d)
- 174
Description
Consider the following code:
```ts
fetch('https://external.foo.com', {
cf: {
resolveOverride: 'bar.com',
},
});
```
I'm observing that when this called from within a Worker, it works as expected - the request hits `bar.com` but the host on origin see's `external.foo.com`.
When the code executes within a Durable Object the `resolveOverride` is not respected, and the request is sent to `external.foo.com`. I've observed this behaviour from a DO method & alarm call.
Contributor guide
Assessment
This issue has not been assessed yet.