Title: Inconsistencies between platforms. · Issue #1 · love2d/lua-https · GitHub
Open Graph Title: Inconsistencies between platforms. · Issue #1 · love2d/lua-https
X Title: Inconsistencies between platforms. · Issue #1 · love2d/lua-https
Description: 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") Wi...
Open Graph Description: 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 htt...
X Description: 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"...
Opengraph URL: https://github.com/love2d/lua-https/issues/1
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Inconsistencies between platforms.","articleBody":"There seems to be some inconsistencies on how the result is returned between Windows, Linux cURL backend, and Linux OpenSSL backend.\r\n\r\nCase 1: `https.request(\"http://site_that_gives_timeout\"))` and `https.request(\"http://invalid.hostname\")`\r\n-----\r\n\r\nWith Windows and Linux OpenSSL backend, all of those return 400 status code. Linux with cURL backend return 0 status code.\r\n\r\nCase 2: `https.request(\"htt://invalid.protocol\")`\r\n-----\r\n\r\nWith Windows and Linux OpenSSL backend, Lua 5.1 **crashes** while LuaJIT prints `C++ exception` thanks to [LuaJIT exception interoperability](https://luajit.org/extensions.html#exceptions). Linux cURL backend returns 0.\r\n","author":{"url":"https://github.com/MikuAuahDark","@type":"Person","name":"MikuAuahDark"},"datePublished":"2021-12-13T02:57:30.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1/lua-https/issues/1"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:879a3994-5711-bbbf-cb72-7c1c0742dd77 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | BC0A:B577:BF3D9D:106459C:6A4DC5E2 |
| html-safe-nonce | f27d32a6ed25cc95d8b80b6e17529a29e9bd233cc352f462c9943c66f7d1f3af |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJCQzBBOkI1Nzc6QkYzRDlEOjEwNjQ1OUM6NkE0REM1RTIiLCJ2aXNpdG9yX2lkIjoiMTU3MDU4MzY1OTc2NDYzMTAxMCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | d6c4e7ab7817703cd6fe59462041f71ea11fab85e865525df4f6e9b0c41d72a3 |
| hovercard-subject-tag | issue:1078025537 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/love2d/lua-https/1/issue_layout |
| twitter:image | https://opengraph.githubassets.com/3266c90d8eb5951be433e9b6a7b9429cb363ec100b9dbd0d8fe34ebc6c10666b/love2d/lua-https/issues/1 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/3266c90d8eb5951be433e9b6a7b9429cb363ec100b9dbd0d8fe34ebc6c10666b/love2d/lua-https/issues/1 |
| og:image:alt | 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 htt... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | MikuAuahDark |
| hostname | github.com |
| expected-hostname | github.com |
| None | 06b8a6144231bf3a234f1c2e9993861e07ce98a905912b114aa386c2d7e84b33 |
| turbo-cache-control | no-preview |
| go-import | github.com/love2d/lua-https git https://github.com/love2d/lua-https.git |
| octolytics-dimension-user_id | 283107 |
| octolytics-dimension-user_login | love2d |
| octolytics-dimension-repository_id | 435158752 |
| octolytics-dimension-repository_nwo | love2d/lua-https |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 435158752 |
| octolytics-dimension-repository_network_root_nwo | love2d/lua-https |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 1d344bdb7547fe6bca17a59bb2b8aac3dc9532a0 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width