rpc: always log goodbye
This commit is contained in:
+1
-3
@@ -166,9 +166,7 @@ func (c ByteStreamRPC) serverLoop(handler RPCHandler) error {
|
|||||||
return conn.Close()
|
return conn.Close()
|
||||||
}
|
}
|
||||||
|
|
||||||
if rq.Goodbye != "" {
|
log.Printf("close request with goodbye: %s", rq.Goodbye)
|
||||||
log.Printf("close request with goodbye: %s", rq.Goodbye)
|
|
||||||
}
|
|
||||||
|
|
||||||
send(&ResponseHeader{
|
send(&ResponseHeader{
|
||||||
RequestId: header.Id,
|
RequestId: header.Id,
|
||||||
|
|||||||
Reference in New Issue
Block a user