Skip to content

v1.0.6

Compare
Choose a tag to compare
@alanmcgovern alanmcgovern released this 01 Nov 18:43
· 1161 commits to master since this release

General

  • The local listening port is correctly set when sending the extended handshake message. This will improve peer exchange as the correct port is guaranteed to be used.
  • Removed unnecessary cloning of Lists when picking pieces. Will greatly reduce memory allocations when a large number of peers are connected.
  • Several small tweaks to use the buffer pool instead of instantiating new buffers, primarily around the encrypted connection negotiation code.
  • Replaced frequent calls to Encoding.GetBytes with static buffers.
  • Reduced the quantity of BigInteger instances created by the Dht engine.
  • Added more thorough testing around BigEndianBigInteger and the fallbacks when running under older runtimes not compatible with .NET Standard 2.1.
  • Updated to the 1.0 release of ReusableTasks