Skip to content

Conversation

@vickenty
Copy link
Contributor

@vickenty vickenty commented Oct 2, 2024

When the client is configured to use UDS via builder's address() method, the client defaulted to UDP-sized buffer.

This patch adds a method to the ClientChannel to fetch the default packet size for each transport type, and uses it in the client to pass the correct value to the processor. The maxPacketSizeBytes field of the resolved builder is reduced to only storing the user preferred configuration, if any.

When the client is configured to use UDS via builder's address()
method, the client defaulted to UDP-sized buffer.

This patch adds a method to the ClientChannel to fetch the default
packet size for each transport type, and uses it in the client to
pass the correct value to the processor. The maxPacketSizeBytes field
of the resolved builder is reduced to only storing the user preferred
configuration, if any.
@vickenty vickenty marked this pull request as ready for review October 2, 2024 12:16
@vickenty vickenty requested a review from a team October 2, 2024 12:16
Copy link
Member

@Gandem Gandem left a comment

Choose a reason for hiding this comment

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

LGTM, thanks!

@vickenty vickenty merged commit f51383a into master Oct 3, 2024
@vickenty vickenty deleted the vickenty/fps branch October 3, 2024 14:35
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.

4 participants