Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix bytes race #981

Merged
merged 16 commits into from
Nov 6, 2024
Merged

Conversation

makeevrserg
Copy link
Collaborator

Background

When sending a lot of bytes to flipper, some of them may be missed. This is happening because of a bug inside new FlipperSerialOverflowThrottler

Changes

  • Fix receive for bytearray
  • Fix long-polling request

Test plan

  • Open sample (probably a 10 times to see that flipper now connecting normally)
  • Open file manager and upload at least >1024KiB-sized file
  • (or) open some key in text editor and save it as another file
  • See uploaded/saved file has the same size as original

@makeevrserg makeevrserg requested a review from LionZXY as a code owner October 30, 2024 15:15
@makeevrserg makeevrserg force-pushed the fix-missing-bytes-cool branch from ffa14bc to e75e2c3 Compare October 30, 2024 15:17
@makeevrserg makeevrserg force-pushed the fix-missing-bytes-cool branch from 4e2e79b to c90c757 Compare October 30, 2024 15:26
@makeevrserg makeevrserg marked this pull request as draft November 5, 2024 12:28
@makeevrserg makeevrserg marked this pull request as ready for review November 5, 2024 15:06
@makeevrserg makeevrserg marked this pull request as draft November 5, 2024 16:06
@makeevrserg makeevrserg marked this pull request as ready for review November 6, 2024 08:42
@makeevrserg makeevrserg added this pull request to the merge queue Nov 6, 2024
Merged via the queue into flipperdevices:dev with commit c0779d0 Nov 6, 2024
11 checks passed
@makeevrserg makeevrserg deleted the fix-missing-bytes-cool branch November 6, 2024 11:16
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.

2 participants