Skip to content

Files over certain size don't seem to return correctly #132

Open
@lastmjs

Description

@lastmjs

I haven't found a solution to this problem yet, but I've tracked the issue down to here: https://github.com/second-state/wasmedge-quickjs/blob/main/modules/internal/fs/stream.js#L175

In my Express app I'm trying to load a file that is just slightly bigger than the size of this buffer. I get this error:

"    at ERR_OUT_OF_RANGE (azle_main:6274)\n    at __node_internal_ (azle_main:6921)\n    at read (azle_main:20327)\n    at apply (native)\n    at <anonymous> (azle_main:7055)\n    at Promise (native)\n    at read (azle_main:7059)\n    at read (azle_main:21716)\n    at read (azle_main:19157)\n    at <anonymous> (azle_main:10176)\n    at resume_ (azle_main:9920)\n"

I will keep trying to track down a solution, but this is a major problem.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions