From 52834c0e019a636be0fac9c4589925b5b53cd293 Mon Sep 17 00:00:00 2001 From: Alexey Melnichuk Date: Mon, 8 Sep 2014 13:09:08 +0400 Subject: [PATCH] Change. Use httpbin.org to test --- test/test_easy.lua | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/test/test_easy.lua b/test/test_easy.lua index 964b80a..56bf9a2 100644 --- a/test/test_easy.lua +++ b/test/test_easy.lua @@ -8,7 +8,10 @@ local scurl = require "lcurl.safe" local json = require "dkjson" local path = require "path" local upath = require "path".new('/') -local url = "http://example.com" + +local SIZE = 128 +local url = "http://httpbin.org/bytes/" .. SIZE + local fname = "./test.download" print("------------------------------------")