Patch Changes
-
6d6e199: Fix infinite loop when response is missing required headers
When the server returns 200 OK but with missing required headers (like
electric-cursor), the client would enter an infinite retry loop ifonErrorreturned{}. NowMissingHeadersErroris treated as non-retryable since it's a configuration issue that won't self-heal. -
594afee: Fix stale cached responses with expired shape handles
When a CDN/proxy is misconfigured and serves a stale cached response with an expired shape handle, the client would get into a broken state where the handle was rejected but the offset was still advanced. This fix detects stale responses and triggers a retry with a cache buster parameter to bypass the misconfigured CDN cache.