Skip to content

v3.2.1

Latest
Compare
Choose a tag to compare
@github-actions github-actions released this 05 Mar 16:02
46b9c43
Message chunking in ApiBulkAsync (#108)

* first impl for message chunking in ApiBulkAsync

* I have to actually chunk the requests not just the bytes

* buildable for now

* add tests for message chunking

* move memorystreamextension, copyright hint for stackoverflow

* add copyright notice

* add init for requesthandler

* add init call in standardservicefactory so that apiversion will be called, handler will have 'correct' MaxRequestSize

* typo

* add log for amount of chunks

* use 1024 as factor

* use quantity structure of the server, as backup try to use api version

* add log

* adjust default min quantity structure

* Refactor ApiBulkAsync to improve request validation, serialization, and chunking logic (#110)

* bulk request chunking by ptku, thanks!

* 30 is minimum

* cant check since the [ and ] are added multiple times

* was missing the first opening for the curr stream

* only append when applicable

* add percentage

* use splitter by bytes per default

* add comment

* add copyright

* use void since no async

* run 10,30

* bump minor version -> request handler has new dependency

* add tostring implementations

* if maxquantitystructure is not yet present (< 3.1) then the max request size was also 64KiB -> no apiversion call

---------

Co-authored-by: Peter Kurhajec <[email protected]>