Fix logdog client library on windows.
LOGDOG_STREAM_SERVER_PATH is set to e.g. `net.pipe:LUCILogDogKitchen_1176`
on bots, but the file to open is '\\.\pipe\LUCILogDogKitchen_1176'.
Additionally, specify no-buffering and '+' mode to prevent python from
hanging onto bytes it shouldn't keep and allow the pipe to be re-opened
for multiple streams in the same python process.
R=tandrii@chromium.org
Bug: 959887
Change-Id: Iff15fb9de9e39552fc7b063c66e6fbeb6f677d61
Reviewed-on: https://chromium-review.googlesource.com/c/infra/luci/luci-py/+/1642342
Auto-Submit: Robbie Iannucci <iannucci@chromium.org>
Commit-Queue: Andrii Shyshkalov <tandrii@chromium.org>
Reviewed-by: Andrii Shyshkalov <tandrii@chromium.org>
NOKEYCHECK=True
GitOrigin-RevId: 90b6d0451314bb57c1e5e45f924478cc34c7f3cc
1 file changed