You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
TSI socket does not obey read limits or write buffer high-watermarks #15296
The current TSI socket implementation has the following problems:
It uses a default max frame size - 1MB defined in gRPC ALTS TSI implementations. It is considered too large and also inconsistent with SSL socket, which is 16KB.
TsiSocket doRead() does not obey read limits by doing an unbounded read from a raw socket.
TsiSocket doWrite() has the problems of 1) inefficient memory usage by protecting full input data into an internal buffer and 2) potentially losing the data stored in the internal buffer that has yet been flushed to the network.
While Google is the developer of ALTS, it's actually used by many GCP users, so anyone running Envoy on GCP probably has some interest in this bug resolution.
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.
This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted" or "no stalebot". Thank you for your contributions.
Activity
yihuazhang commentedon Mar 3, 2021
F.Y.I. @htuch, @jiangtaoli2016, @antoniovicente
antoniovicente commentedon Mar 3, 2021
ALTS / TSI is for the most part only used by Google. I assume your team will drive the fixes to this component.
htuch commentedon Mar 4, 2021
While Google is the developer of ALTS, it's actually used by many GCP users, so anyone running Envoy on GCP probably has some interest in this bug resolution.
github-actions commentedon Apr 3, 2021
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.
github-actions commentedon Nov 7, 2024
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.
github-actions commentedon Nov 15, 2024
This issue has been automatically closed because it has not had activity in the last 37 days. If this issue is still valid, please ping a maintainer and ask them to label it as "help wanted" or "no stalebot". Thank you for your contributions.