ccollins476ad opened a new pull request #168:
URL: https://github.com/apache/mynewt-newtmgr/pull/168
To determine the correct amount of image data to put in an image upload
request, newtmgr repeatedly generates requests until it finds the optimal
value. Each of these requests must be identical (aside from the payload size)
or else the comparison is invalid. If a `sesn`'s filter uses different
parameters each time it encodes a message (e.g., if it does encryption), that
breaks this method of determining the correct chunk size.
By freezing the filter, the same parameters get used for each subsequent
message encoding. This ensures the payload size won't change after we have
settled on a chunk size.
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]