Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(197)

Unified Diff: logdog/client/butlerlib/streamclient/client_namedPipe_windows.go

Issue 2866473002: Revert "Switch from "winio" to "npipe"." (Closed)
Patch Set: Created 3 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « logdog/client/butler/streamserver/namedPipe_windows_test.go ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: logdog/client/butlerlib/streamclient/client_namedPipe_windows.go
diff --git a/logdog/client/butlerlib/streamclient/client_namedPipe_windows.go b/logdog/client/butlerlib/streamclient/client_namedPipe_windows.go
index abeb7a7eb0169ff7233b3f3777972aea98f4912f..e1d2708b5124d886ff416670cd73dc47835aebb6 100644
--- a/logdog/client/butlerlib/streamclient/client_namedPipe_windows.go
+++ b/logdog/client/butlerlib/streamclient/client_namedPipe_windows.go
@@ -8,7 +8,7 @@ import (
"errors"
"io"
- "gopkg.in/natefinch/npipe.v2"
+ "github.com/Microsoft/go-winio"
)
func registerPlatformProtocols(r *Registry) {
@@ -24,7 +24,7 @@ func newNamedPipeClient(path string) (Client, error) {
return &clientImpl{
factory: func() (io.WriteCloser, error) {
- return npipe.Dial(LocalNamedPipePath(path))
+ return winio.DialPipe(LocalNamedPipePath(path), nil)
},
}, nil
}
« no previous file with comments | « logdog/client/butler/streamserver/namedPipe_windows_test.go ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698