mirror of
https://github.com/netfun2000/rttys_zhaojh329.git
synced 2026-02-27 09:53:24 +08:00
HTTP connection termination notification for http proxy
Signed-off-by: Jianhui Zhao <zhaojh329@gmail.com>
This commit is contained in:
@@ -152,6 +152,7 @@ func doHttpProxy(srv *RttyServer, c net.Conn) {
|
|||||||
c.Close()
|
c.Close()
|
||||||
log.Debug().Msgf("http proxy conn closed: %s", ses)
|
log.Debug().Msgf("http proxy conn closed: %s", ses)
|
||||||
dev.https.Delete(srcAddr)
|
dev.https.Delete(srcAddr)
|
||||||
|
sendHttpReq(dev, ses.https, srcAddr[:], destAddr, nil)
|
||||||
}()
|
}()
|
||||||
|
|
||||||
log.Debug().Msgf("new http proxy conn: %s", ses)
|
log.Debug().Msgf("new http proxy conn: %s", ses)
|
||||||
|
|||||||
Reference in New Issue
Block a user