emscripten-core / emscripten-core/emscripten

emscripten_async_wget2_data hangs instead of loading file

Open
#15,593 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C++
Stars
27.6k
Forks
3.6k
Avg merge
1d 1h
Merged PRs (30d)
105

Description

I have created a [minimal test](https://gist.github.com/arielm/11567c883d1f0662eaec56b1cb3e0b0e) (based on `tests/test_emscripten_async_wget2_data.cpp`) which tries to load a text file.

It works with a small text file (few bytes), but it hangs the browser when loading a ~500KB file.

Note that it doesn't matter if I build using ASYNCIFY or not.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.