minor unit test fixes
This commit is contained in:
@@ -1216,7 +1216,7 @@ void web_server_thread(int* port, bool ssl, bool chunked)
|
|||||||
|
|
||||||
while (!p.finished())
|
while (!p.finished())
|
||||||
{
|
{
|
||||||
TORRENT_ASSERT(len < int(sizeof(buf)));
|
TORRENT_ASSERT(len <= int(sizeof(buf)));
|
||||||
size_t received = 0;
|
size_t received = 0;
|
||||||
bool done = false;
|
bool done = false;
|
||||||
bool timed_out = false;
|
bool timed_out = false;
|
||||||
|
@@ -40,8 +40,11 @@ POSSIBILITY OF SUCH DAMAGE.
|
|||||||
#include "libtorrent/create_torrent.hpp"
|
#include "libtorrent/create_torrent.hpp"
|
||||||
#include "libtorrent/thread.hpp"
|
#include "libtorrent/thread.hpp"
|
||||||
#include "libtorrent/alert_types.hpp"
|
#include "libtorrent/alert_types.hpp"
|
||||||
|
#include "libtorrent/file.hpp"
|
||||||
#include <boost/tuple/tuple.hpp>
|
#include <boost/tuple/tuple.hpp>
|
||||||
|
|
||||||
|
#include "setup_transfer.hpp"
|
||||||
|
|
||||||
#include <iostream>
|
#include <iostream>
|
||||||
|
|
||||||
using namespace libtorrent;
|
using namespace libtorrent;
|
||||||
|
Reference in New Issue
Block a user