Skip to content

Inconsistencies between platforms. #1

@MikuAuahDark

Description

@MikuAuahDark

There seems to be some inconsistencies on how the result is returned between Windows, Linux cURL backend, and Linux OpenSSL backend.

Case 1: https.request("http://site_that_gives_timeout")) and https.request("http://invalid.hostname")

With Windows and Linux OpenSSL backend, all of those return 400 status code. Linux with cURL backend return 0 status code.

Case 2: https.request("htt://invalid.protocol")

With Windows and Linux OpenSSL backend, Lua 5.1 crashes while LuaJIT prints C++ exception thanks to LuaJIT exception interoperability. Linux cURL backend returns 0.

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