commit | 48d3f37c1fc9b1a925ac2a6c7b38dc2d772051ff | [log] [tgz] |
---|---|---|
author | iamqizhao <toqizhao@gmail.com> | Tue Jan 26 16:21:22 2016 -0800 |
committer | iamqizhao <toqizhao@gmail.com> | Tue Jan 26 16:21:22 2016 -0800 |
tree | 3d87025a9e72e7d27643da201ed5cbf234cc2a1d | |
parent | e29d659177655e589850ba7d3d83f7ce12ef23dd [diff] |
remove some commented code left from previous PR
diff --git a/server.go b/server.go index a7ff16c..be4d4e6 100644 --- a/server.go +++ b/server.go
@@ -378,8 +378,6 @@ if pf == compressionMade { var err error req, err = dc.Do(bytes.NewReader(req)) - //req, err = ioutil.ReadAll(dc) - //defer dc.Close() if err != nil { if err := t.WriteStatus(stream, codes.Internal, err.Error()); err != nil { grpclog.Printf("grpc: Server.processUnaryRPC failed to write status %v", err)