Update documentation

This commit is contained in:
世界
2022-08-28 00:23:41 +08:00
parent de2453fce9
commit 561a9e5275
12 changed files with 33 additions and 11 deletions
+3
View File
@@ -105,5 +105,8 @@ func wrapError(err error) error {
if strings.Contains(err.Error(), "the client connection is closing") {
return net.ErrClosed
}
if strings.Contains(err.Error(), "server closed the stream without sending trailers") {
return net.ErrClosed
}
return err
}