Discussion:
[libtorrent] "bencoded item count limit exceeded" and "metadata too large" issue.
Jeong Woo Seo
2016-04-09 23:17:43 UTC
Permalink
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/
gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532
Jeong Woo Seo
2016-04-10 18:11:48 UTC
Permalink
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/
gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532
Jeong Woo Seo
2016-04-10 18:40:51 UTC
Permalink
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/
gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532
서정우
2016-04-10 20:30:34 UTC
Permalink
I reported same issue last year.



https://sourceforge.net/p/libtorrent/mailman/message/34592297/



After updated to 1.1.0.0 from 0.16, same issue occurred.



I have two torrents file can't get torrent_info.



1. bencoded item count limit exceeded



This torrent file showed error when tried to get info using torrent_info.

https://drive.google.com/open?id=0B9RbxyXNort1S3NiOHNjcEhDTDg



2. metadata too large



https://drive.google.com/open?id=0B9RbxyXNort1dnM5b01NT0tveEE





When i was using 0.16, modification source from link above worked.
Arvid Norberg
2016-04-10 21:13:16 UTC
Permalink
It's not clear to me whether this is a bug report or a feature request. The
thread you link to contains a fix that has been applied to RC_1_1 and it
explains that the high-level torrent_info constructor has some hard-coded
limits. If you need different limits, you can load the file into a buffer
and parse it yourself, and then construct the torrent_info object from the
bdecode_node.

If it's a matter of the documentation being vague, please point out which
part you think needs improvements.
Post by 서정우
I reported same issue last year.
https://sourceforge.net/p/libtorrent/mailman/message/34592297/
After updated to 1.1.0.0 from 0.16, same issue occurred.
I have two torrents file can't get torrent_info.
1. bencoded item count limit exceeded
This torrent file showed error when tried to get info using torrent_info.
https://drive.google.com/open?id=0B9RbxyXNort1S3NiOHNjcEhDTDg
2. metadata too large
https://drive.google.com/open?id=0B9RbxyXNort1dnM5b01NT0tveEE
When i was using 0.16, modification source from link above worked.
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications
Manager
Applications Manager provides deep performance insights into multiple
tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/
gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532
_______________________________________________
Libtorrent-discuss mailing list
https://lists.sourceforge.net/lists/listinfo/libtorrent-discuss
--
Arvid Norberg
서정우
2016-04-10 21:32:08 UTC
Permalink
I checked changelog and tried increase item count limit and metadata size.
but it didn't work.
Where exactly i should change for item count limit and metadata size?
Post by Arvid Norberg
It's not clear to me whether this is a bug report or a feature request. The
thread you link to contains a fix that has been applied to RC_1_1 and it
explains that the high-level torrent_info constructor has some hard-coded
limits. If you need different limits, you can load the file into a buffer
and parse it yourself, and then construct the torrent_info object from the
bdecode_node.
If it's a matter of the documentation being vague, please point out which
part you think needs improvements.
Post by 서정우
I reported same issue last year.
https://sourceforge.net/p/libtorrent/mailman/message/34592297/
After updated to 1.1.0.0 from 0.16, same issue occurred.
I have two torrents file can't get torrent_info.
1. bencoded item count limit exceeded
This torrent file showed error when tried to get info using torrent_info.
https://drive.google.com/open?id=0B9RbxyXNort1S3NiOHNjcEhDTDg
2. metadata too large
https://drive.google.com/open?id=0B9RbxyXNort1dnM5b01NT0tveEE
When i was using 0.16, modification source from link above worked.
------------------------------------------------------------------------------
Post by 서정우
Find and fix application performance issues faster with Applications
Manager
Applications Manager provides deep performance insights into multiple
tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/
gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532
_______________________________________________
Libtorrent-discuss mailing list
https://lists.sourceforge.net/lists/listinfo/libtorrent-discuss
--
Arvid Norberg
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications
Manager
Applications Manager provides deep performance insights into multiple
tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/
gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532
_______________________________________________
Libtorrent-discuss mailing list
https://lists.sourceforge.net/lists/listinfo/libtorrent-discuss
--
*BH Solution㈜* 기술지원팀 대리 서정우

서울시 구로구 구로동 197-5번지 삼성 IT밸리 1306호
*Mobile* 010-3896-9002 /
E-mail ***@gmail.com
Arvid Norberg
2016-04-10 23:04:35 UTC
Permalink
depth_limit and item_limit parameters to lazy_bdecode() (or bdecode() if
you're using RC_1_1)

http://libtorrent.org/reference-Bencoding.html#lazy_bdecode()

Then use the torrent_info constructor that takes a lazy_entry (or
bdecode_node in RC_1_1)

http://libtorrent.org/reference-Core.html#torrent_info
Post by 서정우
I checked changelog and tried increase item count limit and metadata size.
but it didn't work.
Where exactly i should change for item count limit and metadata size?
Post by Arvid Norberg
It's not clear to me whether this is a bug report or a feature request.
The
Post by Arvid Norberg
thread you link to contains a fix that has been applied to RC_1_1 and it
explains that the high-level torrent_info constructor has some hard-coded
limits. If you need different limits, you can load the file into a buffer
and parse it yourself, and then construct the torrent_info object from
the
Post by Arvid Norberg
bdecode_node.
If it's a matter of the documentation being vague, please point out which
part you think needs improvements.
Post by 서정우
I reported same issue last year.
https://sourceforge.net/p/libtorrent/mailman/message/34592297/
After updated to 1.1.0.0 from 0.16, same issue occurred.
I have two torrents file can't get torrent_info.
1. bencoded item count limit exceeded
This torrent file showed error when tried to get info using
torrent_info.
Post by Arvid Norberg
Post by 서정우
https://drive.google.com/open?id=0B9RbxyXNort1S3NiOHNjcEhDTDg
2. metadata too large
https://drive.google.com/open?id=0B9RbxyXNort1dnM5b01NT0tveEE
When i was using 0.16, modification source from link above worked.
------------------------------------------------------------------------------
Post by Arvid Norberg
Post by 서정우
Find and fix application performance issues faster with Applications
Manager
Applications Manager provides deep performance insights into multiple
tiers of
your business applications. It resolves application problems quickly
and
Post by Arvid Norberg
Post by 서정우
reduces your MTTR. Get your free trial!
http://pubads.g.doubleclick.net/
Post by Arvid Norberg
Post by 서정우
gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532
_______________________________________________
Libtorrent-discuss mailing list
https://lists.sourceforge.net/lists/listinfo/libtorrent-discuss
--
Arvid Norberg
------------------------------------------------------------------------------
Post by Arvid Norberg
Find and fix application performance issues faster with Applications
Manager
Applications Manager provides deep performance insights into multiple
tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/
gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532
_______________________________________________
Libtorrent-discuss mailing list
https://lists.sourceforge.net/lists/listinfo/libtorrent-discuss
--
*BH Solution㈜* 기술지원팀 대리 서정우
서울시 구로구 구로동 197-5번지 삼성 IT밸리 1306호
*Mobile* 010-3896-9002 /
------------------------------------------------------------------------------
Find and fix application performance issues faster with Applications
Manager
Applications Manager provides deep performance insights into multiple
tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial! http://pubads.g.doubleclick.net/
gampad/clk?id=1444514301&iu=/ca-pub-7940484522588532
_______________________________________________
Libtorrent-discuss mailing list
https://lists.sourceforge.net/lists/listinfo/libtorrent-discuss
--
Arvid Norberg
Loading...