Skip to content

Raise TCP claim send buffer before connect#170

Open
loriopatrick wants to merge 1 commit into
masterfrom
t3code/claim-tcp-send-buffer
Open

Raise TCP claim send buffer before connect#170
loriopatrick wants to merge 1 commit into
masterfrom
t3code/claim-tcp-send-buffer

Conversation

@loriopatrick

Copy link
Copy Markdown
Contributor

Summary

  • Increase the TCP send buffer used for claim connections to 8 MiB before dialing the claim address.
  • Switch claim connection setup to TcpSocket so the buffer can be configured prior to connect().
  • Log buffer configuration failures while still attempting the connection.

Testing

  • Not run
  • Verified the change is limited to packages/agent_core/src/network/tcp/tcp_clients.rs
  • Confirmed claim connection path now uses the new helper that sets the send buffer before connecting

- Create claim sockets with an 8 MiB send buffer
- Log buffer configuration failures and keep connecting
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