Skip to content

Add WithMaxTxPacket server option#584

Merged
puellanivis merged 1 commit into
pkg:masterfrom
peterverraedt:configure-maxTxPacket
Apr 26, 2024
Merged

Add WithMaxTxPacket server option#584
puellanivis merged 1 commit into
pkg:masterfrom
peterverraedt:configure-maxTxPacket

Conversation

@peterverraedt

Copy link
Copy Markdown
Contributor

Add the WithMaxTxPacket and WithRSMaxTxPacket server options to increase the maximum tx packet size to a value above 32K. This allows to send bigger chunks of data to the client as response to a read request. As the client specifies the wanted length, it should be safe to increase the server maximum value.

This in particular allows the implemented Client with the MaxPacketUnchecked option to retrieve data in larger chunks.

Comment thread request-server.go Outdated
Comment thread request-server.go Outdated
Comment thread request-server.go Outdated
Comment thread server.go Outdated
Comment thread server.go
Add the WithMaxTxPacket and WithRSMaxTxPacket server options to increase
the maximum tx packet size to a value above 32K. This allows to send
bigger chunks of data to the client as response to a read request. As
the client specifies the wanted length, it should be safe to increase
the server maximum value.

This in particular allows the implemented Client with the
MaxPacketUnchecked option to retrieve data in larger chunks.

Signed-off-by: Peter Verraedt <peter@verraedt.be>
@peterverraedt peterverraedt force-pushed the configure-maxTxPacket branch from 62cddeb to c1f47ba Compare April 26, 2024 07:04
@puellanivis puellanivis merged commit 5494656 into pkg:master Apr 26, 2024
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.

2 participants