Skip to content

fix(tcp): async write queue#13

Open
pulsejet wants to merge 1 commit into
pollere:mainfrom
pulsejet:opn/tcp-write
Open

fix(tcp): async write queue#13
pulsejet wants to merge 1 commit into
pollere:mainfrom
pulsejet:opn/tcp-write

Conversation

@pulsejet
Copy link
Copy Markdown

@pulsejet pulsejet commented Nov 26, 2024

ASIO requires that async_write_* be called only one invocation at a time, otherwise packets can be interleaved in the outgoing stream. This patch adds a outgoing queue to buffer the packets while they are being sent, and improves error handling.

Depends on #12

ASIO requires that async_write_* be called only one invocation at a
time, otherwise packets can be interleaved in the outgoing stream. This
patch adds a outgoing queue to buffer the packets while they are being
sent, and improves error handling.

Signed-off-by: Varun Patil <varun.patil@operantnetworks.com>
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.

1 participant