Skip to content

Commit 09c7ee0

Browse files
committed
fix: grpc server panic
1 parent 2a08c44 commit 09c7ee0

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

transport/gun/server.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ func NewServerHandler(options ServerOption) http.Handler {
5858
},
5959
writer: writer,
6060
}
61+
_ = conn.Init()
6162

6263
wrapper := &h2ConnWrapper{
6364
// gun.Conn can't correct handle ReadDeadline

0 commit comments

Comments
 (0)