Skip to content

Commit

Permalink
Mark session as used on resume.
Browse files Browse the repository at this point in the history
  • Loading branch information
fancycode committed Sep 16, 2020
1 parent d437dbb commit 612b1d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/proxy/proxy_server.go
Original file line number Diff line number Diff line change
Expand Up @@ -550,6 +550,7 @@ func (s *ProxyServer) processMessage(client *ProxyClient, data []byte) {
}

log.Printf("Resumed session %s", session.PublicId())
session.MarkUsed()
if atomic.LoadUint32(&s.shutdownScheduled) != 0 {
s.sendShutdownScheduled(session)
} else {
Expand Down

0 comments on commit 612b1d7

Please sign in to comment.