chunked encoding fixes and added support for http seeds as well

This commit is contained in:
Arvid Norberg
2010-10-31 03:05:11 +00:00
parent 0773644a4e
commit f57e1dd622
5 changed files with 119 additions and 39 deletions

View File

@@ -281,10 +281,7 @@ int test_main()
int ret = 0;
for (int i = 0; i < 2; ++i)
{
// we only support chunked encoding for
// URL seeds (not HTTP seeds).
// that's why the variable limit on this loop
for (int j = 0; j < (i==0?2:1); ++j)
for (int j = 0; j < 2; ++j)
{
#ifdef TORRENT_USE_OPENSSL
run_suite("https", i, j);