make bottled http requests response size limit configurable and bump default to 2 MiB

This commit is contained in:
Arvid Norberg
2012-10-19 01:28:47 +00:00
parent 01f70bfd84
commit 8ba970018c
12 changed files with 50 additions and 14 deletions

View File

@@ -214,7 +214,7 @@ namespace libtorrent
m_tracker_connection.reset(new http_connection(m_ios, m_cc
, boost::bind(&http_tracker_connection::on_response, self(), _1, _2, _3, _4)
, true
, true, settings.max_http_recv_buffer_size
, boost::bind(&http_tracker_connection::on_connect, self(), _1)
, boost::bind(&http_tracker_connection::on_filter, self(), _1, _2)
#ifdef TORRENT_USE_OPENSSL