Bug #2437

Updated by t_dfbsd 10 months ago

When I build libtorrent from pkgsrc with kqueue support, it crashes quickly if there are a large number of connections (doesn't happen with select polling). The error message is "PollKQueue::modify() error: Bad file descriptor". After some Googling, I found this FreeBSD patch which fixes the problem in my limited testing so far:



http://www.freebsd.org/cgi/cvsweb.cgi/ports/net-p2p/libtorrent/files/patch-src_torrent_poll__kqueue.cc



Can someone get this into pkgsrc for DF?

Back