Skip to content

Handle injection into / overflow of the current outgoing packets buffer #446

Open
@Byrth

Description

@Byrth

If an addon developer injects a chunk in the outgoing packet event, the chunk will appear in the next of outgoing packet. This causes 400~500ms of latency and makes some order-dependent usages impossible.

It should instead be appended to the current outgoing packet buffer.

This, of course, implies that overflows need to be handled. Order of packets can be important, so overflow handling would need to maintain the order and not (for instance) get appended to the end of the subsequent packet. As far as how important it is to properly handle overflows, my memory is that the outgoing packet buffer is almost never filled up, but that gearswap pushes users a lot closer than they could possibly get on their own. I think we did the math and 2 big equipset + action + standard outgoing client packet gets pretty close to full.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions