canonfalanga / luaforwindows

Automatically exported from code.google.com/p/luaforwindows
0 stars 0 forks source link

Request: add the ability to handle HTTPS URLs #21

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
I could really use the ability to handle HTTPS URLs (i.e.: SSL/TLS support) in 
Lua For Windows.

thanks!

glauber

Original issue reported on code.google.com by theglau...@gmail.com on 9 Aug 2010 at 4:39

GoogleCodeExporter commented 8 years ago
Sorry, this is an enhancement request, not a defect, but it seems the system 
only lets me enter defects.

Original comment by theglau...@gmail.com on 9 Aug 2010 at 4:41

GoogleCodeExporter commented 8 years ago
What library are you thinking about? I don't know or use this type of thing so 
I am not even sure? Is there a LuaRock version of any library that has support 
for this?

Original comment by rpusz...@gmail.com on 9 Aug 2010 at 5:00

GoogleCodeExporter commented 8 years ago
I was thinking mostly of luasocket. I wasn't aware of "LuaRock", but did a 
quick googling and it seems that "LuaSec" is exactly what i'm asking for. 
Unfortunately, i don't seem to have the compiler required (cl) as "luarocks 
install luasec" fails like this:

Everything is Ok

Folders: 12
Files: 52
Size:       158427
Compressed: 204800
cl /MD /O2 -c -Fosrc/buffer.obj -Ic:/lua/include src/buffer.c -DWIN32 -DNDEBUG -
D_WINDOWS -D_USRDLL -DLUASEC_EXPORTS -DBUFFER_DEBUG -DLUASEC_API=__declspec(dlle
xport)
'cl' is not recognized as an internal or external command,
operable program or batch file.

Error: Build error: Failed compiling object src/buffer.obj

Original comment by theglau...@gmail.com on 9 Aug 2010 at 5:15

GoogleCodeExporter commented 8 years ago
Well, looks like i just had to dig a little deeper. Rocks was finding the 
source package for version 0.4-3, but there is a binary package for 0.4-2. So i 
did

luarocks install luasec 0.4-2

and it seems to have installed!

Now to test it...

thanks again,

glauber

Original comment by theglau...@gmail.com on 9 Aug 2010 at 5:21

GoogleCodeExporter commented 8 years ago
Great. This is probably the best way to get what you want. Can the issue be 
closed?

Original comment by rpusz...@gmail.com on 9 Aug 2010 at 5:31

GoogleCodeExporter commented 8 years ago

Original comment by rpusz...@gmail.com on 9 Aug 2010 at 5:31

GoogleCodeExporter commented 8 years ago
Yes, close it. thanks!

Original comment by theglau...@gmail.com on 9 Aug 2010 at 5:35

GoogleCodeExporter commented 8 years ago

Original comment by rpusz...@gmail.com on 10 Aug 2010 at 3:04