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);