Skip to content

http_server closes connection when sent list contains an integer #1366

Closed
@schnef

Description

@schnef

The call http_server:reply(200, [<<"Hello, world!">>, 34], Conn) in AtomVM/examples/erlang/system_info_server.erl gives the error invalid iolist. The function interop_iolist_size in interop.c gives the error InteropBadArg. It seems the function cann't handle integers in iolists.
Atomvm version 0.6.5
Erlang version 26.2.5.5 and 25.3.2.15

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