tun2: call F()

This commit is contained in:
Cadey Ratio 2017-03-26 15:30:19 -07:00
parent c3e3f595df
commit bd07937466
1 changed files with 4 additions and 4 deletions

View File

@ -285,7 +285,7 @@ func (s *Server) HandleConn(c net.Conn, isKCP bool) {
ln.Log(ln.F{
"action": "backend_connected",
}, connection)
}, connection.F())
s.connlock.Lock()
s.conns[c] = connection
@ -341,7 +341,7 @@ func (s *Server) RoundTrip(req *http.Request) (*http.Response, error) {
"remote_addr": req.RemoteAddr,
"host": req.Host,
"uri": req.RequestURI,
}, c)
}, c.F())
c.cancel()
@ -356,7 +356,7 @@ func (s *Server) RoundTrip(req *http.Request) (*http.Response, error) {
"remote_addr": req.RemoteAddr,
"host": req.Host,
"uri": req.RequestURI,
}, c)
}, c.F())
c.cancel()
@ -372,7 +372,7 @@ func (s *Server) RoundTrip(req *http.Request) (*http.Response, error) {
"remote_addr": req.RemoteAddr,
"host": req.Host,
"uri": req.RequestURI,
}, c)
}, c.F())
c.cancel()