|
|
|
|
|
by kentonv
3190 days ago
|
|
As you guessed, when your worker makes a subrequest to your own zone, it goes directly to your origin server, but when you subrequest to some other domain, it goes in "the front door", and that other domain's scripts apply. If a request bounces back such that the same worker script would need to run twice as a result of a single original request, then it fails with an error. There's nothing else we can do here: we can't let the request loop, but we also can't let it skip your script after it's bounced through a third-party script. |
|
Does this hold true even for subrequests to your own zone, where you say here that they go directly to the origin server?