mirror of
https://github.com/bolkedebruin/rdpgw.git
synced 2025-08-24 17:20:48 +02:00
Test
This commit is contained in:
parent
6917beb0d2
commit
b83f876687
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue