diff --git a/test/test_web_seed_chunked.cpp b/test/test_web_seed_chunked.cpp index 0df5c28c9..83baf9305 100644 --- a/test/test_web_seed_chunked.cpp +++ b/test/test_web_seed_chunked.cpp @@ -43,13 +43,10 @@ int test_main() int ret = 0; for (int url_seed = 0; url_seed < 2; ++url_seed) { - for (int ban = 0; ban < 2; ++ban) - { #ifdef TORRENT_USE_OPENSSL - run_http_suite(proxy, "https", url_seed, 1, ban); + run_http_suite(proxy, "https", url_seed, 1, 0); #endif - run_http_suite(proxy, "http", url_seed, 1, ban); - } + run_http_suite(proxy, "http", url_seed, 1, 0); } return ret; } diff --git a/test/web_server.py b/test/web_server.py index 710136995..2665ac504 100644 --- a/test/web_server.py +++ b/test/web_server.py @@ -74,7 +74,7 @@ class http_handler(SimpleHTTPServer.SimpleHTTPRequestHandler): s.end_headers() s.wfile.write(data); except Exception, e: - print 'FILE NOT FOUND: ', e + print 'FILE NOT FOUND: ', os.getcwd(), filename s.send_response(404) s.send_header("Content-Length", "0") s.end_headers() @@ -124,7 +124,7 @@ class http_handler(SimpleHTTPServer.SimpleHTTPRequestHandler): if chunked_encoding: s.wfile.write('0\r\n\r\n') except Exception, e: - print 'FILE NOT FOUND: ', e + print 'FILE NOT FOUND: ', os.getcwd(), e s.send_response(404) s.send_header("Content-Length", "0") s.end_headers()