Skip to content

Commit

Permalink
remove spurious printfs
Browse files Browse the repository at this point in the history
  • Loading branch information
Michal Witkowski committed Mar 1, 2017
1 parent 84242c4 commit de4d3db
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions proxy/handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -148,12 +148,10 @@ func (s *handler) forwardServerToClient(src grpc.ServerStream, dst grpc.ClientSt
f := &frame{}
for i := 0; ; i++ {
if err := src.RecvMsg(f); err != nil {
//grpclog.Printf("s2c err: %v", err)
ret <- err // this can be io.EOF which is happy case
break
}
if err := dst.SendMsg(f); err != nil {
//grpclog.Printf("s2c err: %v", err)
ret <- err
break
}
Expand Down

0 comments on commit de4d3db

Please sign in to comment.