Open wonder-sk opened 11 months ago
Probably because of this call:
const char *pszEffectiveURL = fetch->url; // URL may change after redirect
where url is likely nullptr.... (when fetch is called on the main thread -> it immediately fails)
When using a QGIS project that contains a cloud-optimized GeoTIFF (COG) on a remote server, it fails with a runtime error:
We are using our custom implementation of
/vsicurl
that uses emscripten's fetch API to do the requests.It is strange that it crashes on some string construction. In the gdal sandbox this works fine (https://github.com/wonder-sk/wasm-gdal-sandbox), but the whole test case there runs in a worker thread because of the blocking networking calls.