mirror of
https://github.com/bolkedebruin/rdpgw.git
synced 2025-08-22 08:10:49 +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)
|
||||
return errors.New("wrong state")
|
||||
}
|
||||
log.Printf("Channel closed")
|
||||
s.Session.TransportIn.Close()
|
||||
s.Session.TransportOut.Close()
|
||||
s.State = SERVER_STATE_CLOSED
|
||||
log.Printf("Channel closed")
|
||||
return nil
|
||||
default:
|
||||
log.Printf("Unknown packet (size %d): %x", sz, pkt)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue