tun2: call F()
This commit is contained in:
parent
c3e3f595df
commit
bd07937466
|
@ -285,7 +285,7 @@ func (s *Server) HandleConn(c net.Conn, isKCP bool) {
|
||||||
|
|
||||||
ln.Log(ln.F{
|
ln.Log(ln.F{
|
||||||
"action": "backend_connected",
|
"action": "backend_connected",
|
||||||
}, connection)
|
}, connection.F())
|
||||||
|
|
||||||
s.connlock.Lock()
|
s.connlock.Lock()
|
||||||
s.conns[c] = connection
|
s.conns[c] = connection
|
||||||
|
@ -341,7 +341,7 @@ func (s *Server) RoundTrip(req *http.Request) (*http.Response, error) {
|
||||||
"remote_addr": req.RemoteAddr,
|
"remote_addr": req.RemoteAddr,
|
||||||
"host": req.Host,
|
"host": req.Host,
|
||||||
"uri": req.RequestURI,
|
"uri": req.RequestURI,
|
||||||
}, c)
|
}, c.F())
|
||||||
|
|
||||||
c.cancel()
|
c.cancel()
|
||||||
|
|
||||||
|
@ -356,7 +356,7 @@ func (s *Server) RoundTrip(req *http.Request) (*http.Response, error) {
|
||||||
"remote_addr": req.RemoteAddr,
|
"remote_addr": req.RemoteAddr,
|
||||||
"host": req.Host,
|
"host": req.Host,
|
||||||
"uri": req.RequestURI,
|
"uri": req.RequestURI,
|
||||||
}, c)
|
}, c.F())
|
||||||
|
|
||||||
c.cancel()
|
c.cancel()
|
||||||
|
|
||||||
|
@ -372,7 +372,7 @@ func (s *Server) RoundTrip(req *http.Request) (*http.Response, error) {
|
||||||
"remote_addr": req.RemoteAddr,
|
"remote_addr": req.RemoteAddr,
|
||||||
"host": req.Host,
|
"host": req.Host,
|
||||||
"uri": req.RequestURI,
|
"uri": req.RequestURI,
|
||||||
}, c)
|
}, c.F())
|
||||||
|
|
||||||
c.cancel()
|
c.cancel()
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue