mirror of
https://github.com/v2fly/v2ray-core.git
synced 2024-12-21 09:36:34 -05:00
fix lint warning
This commit is contained in:
parent
a6393449e0
commit
028b2b74c9
@ -175,10 +175,7 @@ func (s *Server) handleConnect(ctx context.Context, request *http.Request, reade
|
||||
defer ray.InboundInput().Close()
|
||||
|
||||
v2reader := buf.NewReader(conn)
|
||||
if err := buf.Copy(v2reader, ray.InboundInput(), buf.UpdateActivity(timer)); err != nil {
|
||||
return err
|
||||
}
|
||||
return nil
|
||||
return buf.Copy(v2reader, ray.InboundInput(), buf.UpdateActivity(timer))
|
||||
})
|
||||
|
||||
responseDone := signal.ExecuteAsync(func() error {
|
||||
|
Loading…
Reference in New Issue
Block a user