mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-02-05 07:45:23 -05:00
fix lint warnings
This commit is contained in:
@@ -152,11 +152,7 @@ func (v *Handler) Process(ctx context.Context, outboundRay ray.OutboundRay, dial
|
||||
|
||||
reader.SetBuffered(false)
|
||||
bodyReader := session.DecodeResponseBody(request, reader)
|
||||
if err := buf.Copy(bodyReader, output, buf.UpdateActivity(timer)); err != nil {
|
||||
return err
|
||||
}
|
||||
|
||||
return nil
|
||||
return buf.Copy(bodyReader, output, buf.UpdateActivity(timer))
|
||||
})
|
||||
|
||||
if err := signal.ErrorOrFinish2(ctx, requestDone, responseDone); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user