Repository navigation
v0.1.1
Fixes
- Gateway crashed on every request with
1101(Illegal invocation, thenCannot read properties of undefined (reading 'body')).
The internal HTTP client calledfetchandsetTimeoutas methods ofjs.Global(), which in a goflare Worker is a Proxy overglobalThis; workerd rejects thatthis, and the thrown error killed the Go instance for the whole isolate.
The wasm transport now invokes the runtime'sfetchdirectly and times out withAbortSignal.timeout.webtyp.com/fetchis no longer compiled into the Workers.
Tests
- Regression test: the URL client must call
fetchwithout athisand pass its timeout as anAbortSignal.
Full Changelog: v0.1.0...v0.1.1