Merge pull request #1543 from chrox/plugable-turbo

disable turbo lib by default
pull/1544/head v2015.06.04-nightly
Qingping Hou 9 years ago
commit a30fe26de0

@ -1 +1 @@
Subproject commit 6edadeb61b0daa85da8ceb4f113f59405eb4333e
Subproject commit cd68f482e00f26402ea8116ef813df08162a39cb

@ -182,6 +182,10 @@ KOBO_SCREEN_SAVER_LAST_BOOK = true -- get screensaver from last book if possible
-- proxy authentication is not supported yet.
NETWORK_PROXY = nil
-- Experimental features
-- Use turbo library to handle async HTTP request
DUSE_TURBO_LIB = false
-- ####################################################################
-- following features are not supported right now
-- ####################################################################

@ -523,7 +523,7 @@ function UIManager:handleInput()
end
function UIManager:initLooper()
if not self.looper and ffi.os ~= "Windows" then
if DUSE_TURBO_LIB and not self.looper then
TURBO_SSL = true
__TURBO_USE_LUASOCKET__ = true
local turbo = require("turbo")

@ -21,3 +21,6 @@ Input.dummy = true
-- turn on debug
local DEBUG = require("dbg")
--DEBUG:turnOn()
-- use turbo lib in test
DUSE_TURBO_LIB = true

Loading…
Cancel
Save