yarpc / yarpc-go

A message passing platform for Go
MIT License
401 stars 101 forks source link

Add MPTCP suppport #2228

Open zhiyipanuber opened 10 months ago

zhiyipanuber commented 10 months ago

This PR adds MPTCP support. It's based on go 1.21 net package.

When enableMPTCP is passed in yaml files, yarpc will use MPTCP instead TCP for network connection. MPTCP requires underlying system support MPTCP. yarpc will use normal TCP connection if enableMPTCP is in one of following cases:

  1. sets to false or not passed in.
  2. not supported by underlying system.

For reviewers, please review this sequence of files: