Skip to content

Packet output mix up and server desync #304

@RotemNavon

Description

@RotemNavon

There is an edge case when using async and regular bofs together.
If an async bof is ran, and simultaneously a regular short bof like "uptime" runs, everything works great.
But if the regular bof is blocking for more than the sleeping time (for example sleep is 4 sec and bof takes 10 sec) then 2 things happen:

  1. Output mixup both in console and in tasks view:
Image Image
  1. No output from the async bof is printed from the moment the mixed output batch arrives until the task finishes, possibly because of some desync that happens.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions