Use turbo looper on Android

This commit is contained in:
chrox
2015-04-28 11:06:00 +08:00
parent dfe39589f4
commit d468b05567
4 changed files with 8 additions and 4 deletions

View File

@@ -24,7 +24,7 @@ function HTTPClient:request(request, response_callback)
-- disable success and warning logs
turbo.log.categories.success = false
turbo.log.categories.warning = false
local client = turbo.async.HTTPClient({verify_ca = "none"})
local client = turbo.async.HTTPClient({verify_ca = false})
local res = coroutine.yield(client:fetch(request.url, request))
self.input_timeouts = self.input_timeouts - 1
-- reset INPUT_TIMEOUT to nil when all HTTP requests are fullfilled.