[build] buildlet: ensure bytes are drained before network connection

0 views
Skip to first unread message

Gopher Robot (Gerrit)

unread,
Aug 14, 2026, 3:35:07 PM (2 days ago) Aug 14
to Carlos Amedee, goph...@pubsubhelper.golang.org, golang-...@googlegroups.com, Dmitri Shuralyov, Dmitri Shuralyov, golang...@luci-project-accounts.iam.gserviceaccount.com, golang-co...@googlegroups.com

Gopher Robot submitted the change

Change information

Commit message:
buildlet: ensure bytes are drained before network connection

This change ensures the bytes are drained before reading from the
network connection on the buildlet. This is a problem when repeated
connections are made to the buildlet and the buffer isn't always
read to completion.
Change-Id: I8e0ee3d5c7c036a62bae1b8083410d9d05847bf2
Reviewed-by: Dmitri Shuralyov <dmit...@golang.org>
Reviewed-by: Dmitri Shuralyov <dmit...@google.com>
Auto-Submit: Carlos Amedee <car...@golang.org>
Files:
  • M buildlet/buildletclient.go
Change size: S
Delta: 1 file changed, 10 insertions(+), 1 deletion(-)
Branch: refs/heads/master
Submit Requirements:
Open in Gerrit
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: merged
Gerrit-Project: build
Gerrit-Branch: master
Gerrit-Change-Id: I8e0ee3d5c7c036a62bae1b8083410d9d05847bf2
Gerrit-Change-Number: 815560
Gerrit-PatchSet: 2
Gerrit-Owner: Carlos Amedee <car...@golang.org>
Gerrit-Reviewer: Carlos Amedee <car...@golang.org>
Gerrit-Reviewer: Dmitri Shuralyov <dmit...@golang.org>
Gerrit-Reviewer: Dmitri Shuralyov <dmit...@google.com>
Gerrit-Reviewer: Gopher Robot <go...@golang.org>
open
diffy
satisfied_requirement
Reply all
Reply to author
Forward
0 new messages