tong / hxssl

Haxe→C++/Neko OpenSSL bindings
30 stars 45 forks source link

hxssl breaks regular http file download on Linux #33

Closed as3boyan closed 10 years ago

as3boyan commented 10 years ago

I need to access page using HTTPS and it works just fine, but then I need to download file using HTTP and it's throws

neko run.n
Looking for node-webkit url...
Main.hx:238: http://dl.node-webkit.org/v0.9.2/node-webkit-v0.9.2-linux-x64.tar.gz
Found a new version of node-webkit binary: node-webkit-v0.9.2-linux-x64.tar.gz
Main.hx:341: http://dl.node-webkit.org/v0.9.2/node-webkit-v0.9.2-linux-x64.tar.gz
Downloading node-webkit-v0.9.2-linux-x64.tar.gz...
Called from sys.ssl.Socket::$statics line 1
Called from Main::main line 63
Called from Main::checkUpdates line 178
Called from Main::downloadAndExtract line 255
Called from Main::downloadFile line 353
Called from haxe.Http::customRequest line 509
Called from Main::downloadFile line 348
Uncaught exception - (1) : An unknown error has occurred.
hexonaut commented 10 years ago

Which version of hxssl?

as3boyan commented 10 years ago

from haxelib

as3boyan commented 10 years ago

Ok, I was able to get it to work using version from git. Perhaps it's time to update it on haxelib.

hexonaut commented 10 years ago

:) Agreed.