commented out an expensive invariant check. Fixed http parser to accept responses with only LF (and not CRLF)

This commit is contained in:
Arvid Norberg
2006-12-29 23:40:56 +00:00
parent 1561baf1bb
commit a78ef76592
3 changed files with 12 additions and 5 deletions

View File

@@ -245,6 +245,7 @@ namespace libtorrent { namespace detail
catch (const std::exception& e)
{
// This will happen if the storage fails to initialize
// for example if one of the files has an invalid filename.
session_impl::mutex_t::scoped_lock l(m_ses.m_mutex);
mutex::scoped_lock l2(m_mutex);