Actually all the above I did them on the 3.0.0 source. libtorrent 0.16svn and boos1.50(from debian)
I had a look in the torrent_info class and what the constructor you use does. It should fill the info_hash correctly. Actually it calls torrent_info::parse_torrent_file() which in turn calls torrent_info::parse_info_section() and in there the m_info_hash is populated. I have no experience in libtorrent code but could it be a bug for linux?
Actually all the above I did them on the 3.0.0 source. libtorrent 0.16svn and boos1.50(from debian)
I had a look in the torrent_info class and what the constructor you use does. It should fill the info_hash correctly. Actually it calls torrent_ info::parse_ torrent_ file() which in turn calls torrent_ info::parse_ info_section( ) and in there the m_info_hash is populated. I have no experience in libtorrent code but could it be a bug for linux?