added unit test for RSS feeds and fixed a parsing bug

This commit is contained in:
Arvid Norberg
2012-02-20 07:51:36 +00:00
parent 079a8f8314
commit 75fce84ce4
6 changed files with 204 additions and 31 deletions

View File

@@ -1718,9 +1718,7 @@ namespace aux {
#if defined(TORRENT_VERBOSE_LOGGING) || defined(TORRENT_LOGGING)
(*m_logger) << time_now_string() << " aborting all connections (" << m_connections.size() << ")\n";
#endif
// closing all the connections needs to be done from a callback,
// when the session mutex is not held
m_io_service.post(boost::bind(&connection_queue::close, &m_half_open));
m_half_open.close();
#if defined(TORRENT_VERBOSE_LOGGING) || defined(TORRENT_LOGGING)
(*m_logger) << time_now_string() << " connection queue: " << m_half_open.size() << "\n";