Skip to content

Commit

Permalink
Merge pull request apache#458 from complone/fix-session-exception
Browse files Browse the repository at this point in the history
fix  listener session exception
  • Loading branch information
AlexStocks committed Jul 28, 2022
2 parents 2b59f89 + 45cc7cc commit c15c3f6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/listener/tcp/server_handler.go
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ func (h *ServerHandler) OnMessage(session getty.Session, pkg interface{}) {
}
h.rwlock.Unlock()

decodeResult, drOK := pkg.(remoting.DecodeResult)
decodeResult, drOK := pkg.(*remoting.DecodeResult)
if !drOK {
logger.Errorf("illegal package{%#v}", pkg)
return
Expand Down

0 comments on commit c15c3f6

Please sign in to comment.