mirror of
https://github.com/bolkedebruin/rdpgw.git
synced 2026-03-29 07:06:34 +00:00
Test
This commit is contained in:
@@ -165,10 +165,10 @@ func (s *Server) Process(ctx context.Context) error {
|
|||||||
log.Printf("Channel closed while in wrong state %d != %d", s.State, SERVER_STATE_OPENED)
|
log.Printf("Channel closed while in wrong state %d != %d", s.State, SERVER_STATE_OPENED)
|
||||||
return errors.New("wrong state")
|
return errors.New("wrong state")
|
||||||
}
|
}
|
||||||
|
log.Printf("Channel closed")
|
||||||
s.Session.TransportIn.Close()
|
s.Session.TransportIn.Close()
|
||||||
s.Session.TransportOut.Close()
|
s.Session.TransportOut.Close()
|
||||||
s.State = SERVER_STATE_CLOSED
|
s.State = SERVER_STATE_CLOSED
|
||||||
log.Printf("Channel closed")
|
|
||||||
return nil
|
return nil
|
||||||
default:
|
default:
|
||||||
log.Printf("Unknown packet (size %d): %x", sz, pkt)
|
log.Printf("Unknown packet (size %d): %x", sz, pkt)
|
||||||
|
|||||||
Reference in New Issue
Block a user