mirror of
https://github.com/v2fly/v2ray-core.git
synced 2026-02-01 13:55:25 -05:00
aggressively close connection when response is done
This commit is contained in:
@@ -54,7 +54,7 @@ func IgnoreWriterError() CopyOption {
|
||||
}
|
||||
}
|
||||
|
||||
func UpdateActivity(timer signal.ActivityTimer) CopyOption {
|
||||
func UpdateActivity(timer signal.ActivityUpdater) CopyOption {
|
||||
return func(handler *copyHandler) {
|
||||
handler.onData = append(handler.onData, func(MultiBuffer) {
|
||||
timer.Update()
|
||||
|
||||
Reference in New Issue
Block a user