From 48f64961c0bb06335143885a382117f2e69ab88e Mon Sep 17 00:00:00 2001 From: iamqizhao Date: Tue, 28 Jul 2015 20:04:28 -0700 Subject: [PATCH] fix a bug in the PR#264 --- server.go | 1 - trace.go | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/server.go b/server.go index 89d0d22e..b26c2ed0 100644 --- a/server.go +++ b/server.go @@ -362,7 +362,6 @@ func (s *Server) processStreamingRPC(t transport.ServerTransport, stream *transp ss.statusCode = convertCode(appErr) ss.statusDesc = appErr.Error() } - return nil } return t.WriteStatus(ss.s, ss.statusCode, ss.statusDesc) diff --git a/trace.go b/trace.go index 24635740..316cc2c8 100644 --- a/trace.go +++ b/trace.go @@ -46,7 +46,7 @@ import ( // EnableTracing controls whether to trace RPCs using the golang.org/x/net/trace package. // This should only be set before any RPCs are sent or received by this program. -var EnableTracing = true +var EnableTracing = false // methodFamily returns the trace family for the given method. // It turns "/pkg.Service/GetFoo" into "pkg.Service".