Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
home:agraf
libtorrent
noupload.patch
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File noupload.patch of Package libtorrent
Index: libtorrent-0.13.8/src/protocol/peer_connection_base.cc =================================================================== --- libtorrent-0.13.8.orig/src/protocol/peer_connection_base.cc +++ libtorrent-0.13.8/src/protocol/peer_connection_base.cc @@ -767,7 +767,7 @@ PeerConnectionBase::up_chunk() { if (!m_upChunk.chunk()->is_readable()) throw internal_error("ProtocolChunk::write_part() chunk not readable, permission denided"); - uint32_t quota = m_up->throttle()->node_quota(m_peerChunks.upload_throttle()); + uint32_t quota = 0; //m_up->throttle()->node_quota(m_peerChunks.upload_throttle()); if (quota == 0) { manager->poll()->remove_write(this); Index: libtorrent-0.13.8/src/net/throttle_list.cc =================================================================== --- libtorrent-0.13.8.orig/src/net/throttle_list.cc +++ libtorrent-0.13.8/src/net/throttle_list.cc @@ -217,10 +217,13 @@ ThrottleList::node_used_unthrottled(uint void ThrottleList::node_deactivate(ThrottleNode* node) { - if (!is_active(node)) + if (!is_active(node)) { + if (true) + return; throw internal_error(is_inactive(node) ? "ThrottleList::node_deactivate(...) called on an inactive node." : "ThrottleList::node_deactivate(...) could not find node."); + } base_type::splice(end(), *this, node->list_iterator());
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor