HTTP connection termination notification for http proxy

Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
This commit is contained in:
Jianhui Zhao
2025-08-14 18:06:36 +08:00
parent 1d24c36d43
commit baac0abe56
+1
View File
@@ -152,6 +152,7 @@ func doHttpProxy(srv *RttyServer, c net.Conn) {
c.Close()
log.Debug().Msgf("http proxy conn closed: %s", ses)
dev.https.Delete(srcAddr)
sendHttpReq(dev, ses.https, srcAddr[:], destAddr, nil)
}()
log.Debug().Msgf("new http proxy conn: %s", ses)