Skip to content

wrong version number #57

@MisterDA

Description

@MisterDA

Hi !
I want to download a file (here the google index) but it fails.

require("socket")
local https = require("ssl.https")
print(https.request("https://www.google.com"))
-- nil  wrong version number    nil nil
require("socket")
local https = require("ssl.https")
local one, code, headers, status = https.request({
  url = "https://www.google.com",
  protocol="sslv3",
  options="all",
  verify="none"})
print(one, code, headers, status)
-- nil  wrong version number    nil nil

This might be related to #34 and #38 ... If I'm not able to download a simple file, well it's bad.
What do I do ?

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