diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2024-05-03 08:44:48 +0200 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2024-05-03 15:57:46 +0000 |
| commit | 610f2a54d02f8cf4f2454c03bf679b602e6e59b6 (patch) | |
| tree | dd1768a4e516fe9fb6945613ebf009eda82317f6 /tools | |
| parent | 3a81775029176dd4c693542e6715b985fa7ade4d (diff) | |
pkg/rpctype: prepare for not using for target communication
Remove things that are only needed for target VM communication:
conditional compression, timeout scaling, traffic stats.
To minimize diffs when we switch target VM communication to flatrpc.
Diffstat (limited to 'tools')
| -rw-r--r-- | tools/syz-hubtool/hubtool.go | 2 | ||||
| -rw-r--r-- | tools/syz-runtest/runtest.go | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/syz-hubtool/hubtool.go b/tools/syz-hubtool/hubtool.go index a3317801e..dc59ef230 100644 --- a/tools/syz-hubtool/hubtool.go +++ b/tools/syz-hubtool/hubtool.go @@ -57,7 +57,7 @@ func main() { return } log.Printf("connecting to hub at %v...", *flagHubAddress) - conn, err := rpctype.NewRPCClient(*flagHubAddress, 1, true, true) + conn, err := rpctype.NewRPCClient(*flagHubAddress) if err != nil { log.Fatalf("failed to connect to hub: %v", err) } diff --git a/tools/syz-runtest/runtest.go b/tools/syz-runtest/runtest.go index 1de8f6a54..586e4c2cc 100644 --- a/tools/syz-runtest/runtest.go +++ b/tools/syz-runtest/runtest.go @@ -69,7 +69,7 @@ func main() { } mgr.checkFiles, mgr.checkProgs = mgr.checker.StartCheck() mgr.needCheckResults = len(mgr.checkProgs) - s, err := rpctype.NewRPCServer(cfg.RPC, "Manager", mgr, false) + s, err := rpctype.NewRPCServer(cfg.RPC, "Manager", mgr) if err != nil { log.Fatalf("failed to create rpc server: %v", err) } |
