Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: alanmcgovern/monotorrent
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: release-v3.0.1
Choose a base ref
...
head repository: alanmcgovern/monotorrent
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: release-v3.0.2
Choose a head ref
  • 6 commits
  • 9 files changed
  • 3 contributors

Commits on Aug 2, 2024

  1. Fix two issues affecting webseeds (#665)

    1) Ensure web requests request data in-order by fixing the piecepicker
       to correctly use 'CanRequestMorePieces'
    
    2) Fix a bug in the handling of padding files. A request for some data
       from a webseed needs to take padding files into account in all cases.
       A request can begin or end inside padding, it can also begin/end in
       regular files while optionally crossing one stretch of padding. This
       means the existing logic to insert synethic requests to the padding
       file are broken in a number of cases.
    alanmcgovern authored Aug 2, 2024
    Configuration menu
    Copy the full SHA
    c93c385 View commit details
    Browse the repository at this point in the history

Commits on Aug 3, 2024

  1. Reduce risk of port clashes

    Running all the tests in parallel sometimes results in port collisions,
    so use a wider range of random ports.
    alanmcgovern committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    7bf8776 View commit details
    Browse the repository at this point in the history
  2. RequestMessages aren't always sequential or adjacent. Break the reque…

    …sts into adjacent chunks before requesting
    borigas authored and alanmcgovern committed Aug 3, 2024
    Configuration menu
    Copy the full SHA
    ad628e8 View commit details
    Browse the repository at this point in the history

Commits on Aug 4, 2024

  1. Tweak prior commit to raise an error instead

    Use the original logic to detect when non-sequential requests are made,
    and raise an error instead of handling it gracefully.
    
    By default blocks are effectively random, and this is a bad access
    pattern for many web servers. The piece picker should be requesting a
    bunch of sequential blocks, which should be converted into a single
    large http request, which (in turn) should be better for the http server
    and also the library.
    alanmcgovern committed Aug 4, 2024
    Configuration menu
    Copy the full SHA
    0abb8c0 View commit details
    Browse the repository at this point in the history
  2. Merge pull request #668 from alanmcgovern/add-validation-http-requests

    Add validation http requests
    alanmcgovern authored Aug 4, 2024
    Configuration menu
    Copy the full SHA
    ce89ff6 View commit details
    Browse the repository at this point in the history
  3. Bump version to 3.0.2

    alanmcgovern committed Aug 4, 2024
    Configuration menu
    Copy the full SHA
    e78faeb View commit details
    Browse the repository at this point in the history
Loading