Add a patch to fix crash when total number of connections exceeds 1024.
Submitted by: Andrew Stadtler, Paul Belanger Obtained from: http://libtorrent.rakshasa.no/ticket/1581
This commit is contained in:
parent
80d89d86ca
commit
e4d9946f25
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=243466
@ -7,7 +7,7 @@
|
||||
|
||||
PORTNAME= libtorrent-devel
|
||||
PORTVERSION= 0.12.5
|
||||
PORTREVISION= 0
|
||||
PORTREVISION= 1
|
||||
DISTNAME= ${PORTNAME:S/-devel//}-${PORTVERSION}
|
||||
|
||||
MAINTAINER= flz@FreeBSD.org
|
||||
|
@ -9,3 +9,12 @@
|
||||
#endif
|
||||
|
||||
namespace torrent {
|
||||
@@ -113,7 +113,7 @@
|
||||
if (fd == -1)
|
||||
return NULL;
|
||||
|
||||
- return new PollKQueue(fd, 1024, maxOpenSockets);
|
||||
+ return new PollKQueue(fd, 16384, maxOpenSockets);
|
||||
}
|
||||
|
||||
PollKQueue::PollKQueue(int fd, int maxEvents, int maxOpenSockets) :
|
||||
|
Loading…
Reference in New Issue
Block a user