Skip to content
This repository has been archived by the owner on Jul 25, 2022. It is now read-only.

Try to use line buffering in postoffice #2397

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

jgrund
Copy link
Member

@jgrund jgrund commented Nov 23, 2020

Try to use line buffering in the postoffice UDS connection.

In addition, reuse the same client for all connections instead of
streaming one connection at a time.

Signed-off-by: Joe Grund [email protected]


This change is Reviewable

Try to use line buffering in the postoffice UDS connection.

In addition, reuse the same client for all connections instead of
streaming one connection at a time.

Signed-off-by: Joe Grund <[email protected]>
})?;
let mut incoming = listener.incoming().take_until(tripwire);

let conn = UnixStream::connect(&addr)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is this changing? This side should be the server listening for connections right?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

How many writers will there be on a socket at once?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

current usage between 0 and number of mounted targets.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants