add more options for grpc

This commit is contained in:
ginuerzh
2022-12-21 18:17:46 +08:00
parent 86acbf7f66
commit ee2c05494c
12 changed files with 254 additions and 93 deletions

View File

@ -66,6 +66,7 @@ func (c *conn) Close() error {
case <-c.closed:
default:
close(c.closed)
return c.c.CloseSend()
}
return nil