diff options
-rw-r--r-- | run.go | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -56,7 +56,10 @@ func Run() { for cc := range clts { go func(cc *ClientConn) { - ack, _ := cc.SendCmd(&mt.ToCltDisco{Reason: mt.Shutdown}) + ack, _ := cc.SendCmd(&mt.ToCltDisco{ + Reason: mt.Custom, + Custom: "Proxy shutting down.", + }) select { case <-cc.Closed(): case <-ack: |