timeouts become longer the more times a tracker fails

This commit is contained in:
Arvid Norberg
2004-04-01 22:29:51 +00:00
parent 894d228c66
commit 98c1c824df
5 changed files with 24 additions and 13 deletions

View File

@@ -161,7 +161,7 @@ namespace libtorrent
if (ret == -1)
{
std::stringstream msg;
msg << "seek failed: " << strerror(errno);
msg << "seek failed: '" << strerror(errno) << "' fd: " << m_fd << " offset: " << offset << " seekdir: " << seekdir;
throw file_error(msg.str());
}