Skip to content

Commit e64f862

Browse files
authored
Update "Custom Ports" known issue to reflect dev-time only behaviour
The change made in PR cloudflare#7514 assumes that custom ports work with HTTP requests, however, this is not true. PR cloudflare#5255 did correctly mention the dev-time discrepancy but it was not merged.
1 parent c2a61d8 commit e64f862

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

content/workers/platform/known-issues.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,9 @@ return await fetch(request);
4545

4646
## Custom ports
4747

48-
For Workers subrequests, custom ports are ignored when using HTTPS and are instead always sent to port `443`. When using HTTP, custom ports are respected.
48+
For Workers subrequests, custom ports are ignored and requests are sent to the scheme's default port, such as `443` for HTTPS.
49+
50+
This behaviour is not present in local development or when using Quick Edit in the dashboard.
4951

5052
For example:
5153

@@ -57,4 +59,4 @@ is the equivalent of:
5759

5860
```js
5961
await fetch('https://example.com/foo')
60-
```
62+
```

0 commit comments

Comments
 (0)