Skip to content

Conversation

@alanmcgovern
Copy link
Owner

Tweak of the #639 PR - except raise an exception instead!

borigas and others added 2 commits August 3, 2024 18:08
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 alanmcgovern merged commit ce89ff6 into master Aug 4, 2024
@alanmcgovern alanmcgovern deleted the add-validation-http-requests branch August 4, 2024 09:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants