Ecosyste.ms: OpenCollective
An open API service for software projects hosted on Open Collective.
github.com/alanmcgovern/monotorrent
The official repository for MonoTorrent, a bittorrent library for .NET
https://github.com/alanmcgovern/monotorrent
22adc71a6cd7e637675e8456342cce7d12587717 authored almost 14 years ago
adb3eef9ef4f4a0631dce90da92c99bcf68f2866 authored almost 14 years ago
bffece7cc809ad0bd12031bddf8b04c8e7da14c3 authored almost 14 years ago
33da61243128ad18efb71d7db55c7313e3f09f2d authored almost 14 years ago
Use WaitHandle.WaitAll () instead of the custom crap which may or may not
work properly in all c...
8f2821d1754afacb4230e818cdd92e3af3b95c73 authored about 14 years ago
e8093aa6e33f30804f8b4f471dd0fc1a490abf91 authored about 14 years ago
d83b6963f89cdf9382f3c14d57c5a0aaca47cd08 authored over 14 years ago
If a peer is downloading and one of his pieces has been successfully
spread throughout the swarm...
We don't need to choke peers if there's no-one waiting to take the
slot.
PeerExchange messages are pretty CPU heavy to process as we need to
ensure we don't have duplica...
a2b47b5e5999cd3e6c280905b98518752b0d6e33 authored over 14 years ago
b0952a6e4799fa024f274e3ab44f1832a669f00b authored over 14 years ago
80b0f3e5df753671985cd8c711c4b70a68a46463 authored over 14 years ago
9e2015217219e2050d68e71654dca2bda5082fcf authored over 14 years ago
1a9f38a8ee0857249f3f544b73754896344c3925 authored over 14 years ago
This change allows me to wrap the lists in a ReadOnlyCollection<T> as
appropriate.
939211824ead516a0374f03a72d1a9e28d122a38 authored over 14 years ago
4caf6ad65c342aa4c34133ab6720fc682e912c28 authored over 14 years ago
To make things consistent the methods for modifying custom values should
be named GetCustom, Set...
e9562ebd0aaeb0879d6eac576dbb18cd01b9095d authored over 14 years ago
Created a wrapper around the announce-urls structure to make it easy to
directly update the benc...
ade8173770698e851d627ddebbb2ac536312f92d authored over 14 years ago
6b2787dcef781e4f621e3927c304e4c818d24271 authored over 14 years ago
e4ea42cd894967d4ab5f0229fb0f6ec2da537f5c authored over 14 years ago
7388a539e99c938e4202b84f93fdfef13b820bfb authored over 14 years ago
These two classes share a lot of functionality, so move all of that to a
base class where it can...
04af1bbcc39eb2ec95cd288ca7eb046f0a69e2c3 authored over 14 years ago
System.Web is not available under all profiles. This makes it awkward
for people trying to use m...
This property makes on sense to be on the interface as it's
implementation specific as to whethe...
e71fb87360e678af15665f3e0033694699c81dab authored over 14 years ago
d036c11d957dc6b4c2dc49f7149886bbc28269c9 authored over 14 years ago
1ea5265d6c2ec18d861726b712960859c80cd91e authored over 14 years ago
3e57a985a15b5e90a84589e508174c43e7ae51e9 authored over 14 years ago
c150600524921ffefffe9844a264cf29490054eb authored over 14 years ago
Only piece message is limitednot protocol message
201a77f2fe52830e69f7920bd9cf4c282f018ffe authored over 14 years agoElse long terme client will have too much peers inactives.
69d79d61f8751a967904dda2b5686682656d8d2c authored over 14 years ago0d0379b8761e783417d9a8aef8f3d68a155c64f4 authored over 14 years ago
25dd27a54a51b1723e05671d48972f3e9d3dce61 authored over 14 years ago
svn path=/trunk/bitsharp/; revision=158173
46064c84ecd70291047c484687a3d217c943af67 authored over 14 years agosvn path=/trunk/bitsharp/; revision=157771
4ab2ac68d4c9bea75be3e2d1eaabd71814455ee7 authored over 14 years ago* MonoTorrent.Tests/Client/InitialSeedUnchokerTests.cs: Put these
tests in the right namespaces...
* MonoTorrent.Tests/MonoTorrent.Tests.csproj:
* MonoTorrent.Tests/Client/InitialSeedingModeTest.c...
svn path=/trunk/bitsharp/; revision=157402
8a8c28ce8f413027a2a16c7d8920d81492f1e56e authored over 14 years agosvn path=/trunk/bitsharp/; revision=157393
ede6d3dc610c504fa500d25637ff12358f6aa5a4 authored over 14 years agosvn path=/trunk/bitsharp/; revision=157392
899626f9dfb53ddae7de9659e06aa36c0ef9f3a7 authored over 14 years agosvn path=/trunk/bitsharp/; revision=157336
cfd7c6f8bf92ba579e6f37ecad18c9aa4dac1cbf authored over 14 years agowe're in metadata mode just spew out a safe string.
svn path=/trunk/bitsharp/; revision=156980
5d0a598f2f5dea25487bbdf8d624db15419fa666 authored over 14 years ago* MonoTorrent.Tests/Common/SpeedMonitorTest.cs: Add tests to ensure
the correctness of the tran...
* SampleClient/SampleClient.csproj:
* MonoTorrent.Dht/MonoTorrent.Dht.csproj:
* MonoTorrent.Tests...
* MonoTorrent/MonoTorrent.Client/ClientEngine.cs:
* MonoTorrent/MonoTorrent.Client/Managers/Torre...
the right place so that we don't explode horribly if a socket is
closed while we're rate limt...
svn path=/trunk/bitsharp/; revision=156171
5bc9b63af6d7fb881ddbfe29c7c564ac051a14bb authored almost 15 years ago* MonoTorrent.Tests/Client/TorrentManagerTest.cs: Add some tests to
ensure that invalid fast re...
svn path=/trunk/bitsharp/; revision=156067
c82945aa67940380112c71ca7c7936f2388a3dce authored almost 15 years agosvn path=/trunk/bitsharp/; revision=156066
4dfa9ceb4a0e6571a1755bc2da9b707833c6e7cb authored almost 15 years agosvn path=/trunk/bitsharp/; revision=156065
346ae16260abc51ed2978d100d039b6630b34d83 authored almost 15 years ago* MonoTorrent/MonoTorrent.Client/NetworkIO/ReceiveMessageState.cs:
Ensure that the amount of da...
* MonoTorrent.Tests/Client/MetadataModeTest.cs: Consolidate the
SendMessage/ReceieveMessage tes...
increment their variable. Doh!
svn path=/trunk/bitsharp/; revision=155977
27f1d4885d55b24fec5d0376ddec760be1861f37 authored almost 15 years ago When trying to decide if a peer is interesting when in selective
download mode, pass the corr...
* MonoTorrent.Tests/Client/TestRig.cs:
* MonoTorrent/MonoTorrent.Common/Torrent.cs:
* MonoTorrent...
limiting. It's now more awesome than before :)
svn path=/trunk/bitsharp/; revision=155219
b3ce0114fe930d1af27eaeafcbce66bfa4b48ab0 authored almost 15 years ago* MonoTorrent/MonoTorrent.Client/AsyncIOState.cs: Update the different
upload/download counters...
last commit
svn path=/trunk/bitsharp/; revision=154904
705fe3a48ad4733760993117f7c3e8a1e66742d9 authored almost 15 years agosvn path=/trunk/bitsharp/; revision=154903
91698ebf97a216c109f07c751d2981e750ba57ae authored almost 15 years agowhich return 0 are treated the same as if they threw an exception.
* MonoTorrent.Tests/Client/...
14f23a54fd2d27bf9616253fff9d0da42b38dc3c authored almost 15 years agosvn path=/trunk/bitsharp/; revision=154901
2d891231af562da07c3c8be2df60b24bcfc88f95 authored almost 15 years agosvn path=/trunk/bitsharp/; revision=154900
02e77161eeb9e456b70fecc78af2bed93aecfcbf authored almost 15 years agosvn path=/trunk/bitsharp/; revision=154899
8b484a145e8b3198fbba00c7849ba1cc847041c7 authored almost 15 years agomore fixes for cleanup code.
svn path=/trunk/bitsharp/; revision=154898
af49e720dc8dd4bfaeb842a2fde9584901577119 authored almost 15 years agoRemove more old redundant cleanup code.
svn path=/trunk/bitsharp/; revision=154897
6d88b0cdd0adb7805ee78cf881b5ffef5b306f1b authored almost 15 years agologic to close the connection of a peer who sends bad data here.
* MonoTorrent/MonoTorrent.Cli...
bcd8f1af360e4cd30e3c32bb10e5a73e7e7cff10 authored almost 15 years ago* MonoTorrent.Tests/Client/MetadataModeTest.cs:
* MonoTorrent/MonoTorrent.Client/Managers/ListenM...
Remove a now useless call to free the receive buffer.
* MonoTorrent/MonoTorrent.Client/Manager...
a7c3afbaf2fa215613a2d7541f21ff84d15c1319 authored almost 15 years ago ListenManager to use the new NetworkIO/PeerIO methods for receiving
the handshake. Refactor t...
CleanupSocket method and replace all usages of it with calls to
dispose the active connection...
Refactor ConnectionManager to use PeerIO.EnqueueReceiveHandshake.
svn path=/trunk/bitsharp/; r...
552021bc173bd82989e369b63beba8624d71a11f authored almost 15 years ago* MonoTorrent/MonoTorrent.Client/PeerConnections/PeerId.cs:
* MonoTorrent/MonoTorrent.Client/Mana...
be dealt with using the regular EnqueueReceiveMessage method as they
are not decodable via th...
handling of KeepAlive messages. Add a test so that this doesn't
regress again.
* MonoTorrent...
14d3fcb961871f705544ac2ed70e9c72398672ce authored almost 15 years ago* MonoTorrent.Tests/Client/TransferTest.cs:
* MonoTorrent/MonoTorrent.Client/NetworkIO:
* MonoTor...
simplified methods for GetBuffer and FreeBuffer.
svn path=/trunk/bitsharp/; revision=154816
e65a1d6b63384e8ab329c0fb0d3291b15c0f44e2 authored almost 15 years agoconst instead of static readonly.
svn path=/trunk/bitsharp/; revision=154815
1497dcbcef6a4ef73019cd62290737f770ca925e authored almost 15 years ago slow connections in the unit tests. This forces the IConnection to
process less data in Begin...
svn path=/trunk/bitsharp/; revision=154146
dcdfb12cf2f4d5bfd9b0af9ebdb47327c03e947a authored almost 15 years agosvn path=/trunk/bitsharp/; revision=154144
17bd28eaa9c5d00d8799ab07c85dd3ae8645fd48 authored almost 15 years ago* MonoTorrent.Tests/Client/TransferTest.cs:
* MonoTorrent.Tests/Common/InfoHashTests.cs:
* MonoTo...
* MonoTorrent.Tests/Client/TransferTest.cs:
* MonoTorrent.Tests/Client/MetadataModeTest.cs:
* Mon...
the Exists (IList) overload from PieceWriter as it's unnecessary.
* MonoTorrent/MonoTorrent.Cl...
22e88c5190e0230812deff487df319f6c90ed98b authored almost 15 years ago allow the creation of FastResume data if the TorrentManager hasn't
been hash checked. This pr...
svn path=/trunk/bitsharp/; revision=153794
91eb2c4280703cda615693e3a16a726f7da5206c authored almost 15 years agoa math overflow error. Thanks to nivanov.
svn path=/trunk/bitsharp/; revision=153792
0bba01040bbb486898606578fabc07702cdcef6a authored almost 15 years ago* MonoTorrent/MonoTorrent.Client/Managers/TorrentManager.cs: Add error
handling and sanity chec...
* MonoTorrent/MonoTorrent.Client/Managers/TorrentManager.cs: Add a
public API point to be able ...
* MonoTorrent/MonoTorrent.Client/Managers/ConnectionManager.cs:
Refactor TryConnect to loop int...
iterating the TorrentManagers to try to connect to a peer, ensure we
don't exceed the bounds ...
is unchoked, ensure we set LastUnchoked.
svn path=/trunk/bitsharp/; revision=153553
42dbb6d0495ae4e088952e58f1611d26b9ab25b1 authored almost 15 years ago in metadata mode, save the metadata correctly to disk so that it can
be loaded again later.
2...
* MonoTorrent/MonoTorrent.Client/Modes/ErrorMode.cs:
* MonoTorrent/MonoTorrent.Client/Modes/Stopp...